Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005211/0.005211, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.09 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2566, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7682/1.025, allocations: 248.9 MB / 1.331 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0214/1.046, allocations: 22.28 MB / 1.352 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/1.048, allocations: 52.5 kB / 1.352 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/1.051, allocations: 0.981 MB / 1.353 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/1.054, allocations: 1.471 MB / 1.355 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/1.058, allocations: 1.933 MB / 1.357 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002861/1.061, allocations: 2.7 MB / 1.359 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/1.063, allocations: 1.32 MB / 1.361 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/1.065, allocations: 1.335 MB / 1.362 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000989/1.066, allocations: 0.917 MB / 1.363 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/1.066, allocations: 109.6 kB / 1.363 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/1.069, allocations: 1.673 MB / 1.365 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/1.07, allocations: 379.2 kB / 1.365 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006289/1.07, allocations: 0.6364 MB / 1.366 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/1.073, allocations: 2.282 MB / 1.368 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.073, allocations: 0 / 1.368 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/1.073, allocations: 0 / 1.368 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.783e-05/1.073, allocations: 0 / 1.368 GB, free: 13.11 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001878/1.075, allocations: 1.466 MB / 1.369 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.075, allocations: 12.44 kB / 1.369 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/1.075, allocations: 146.5 kB / 1.369 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/1.076, allocations: 219.6 kB / 1.37 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/1.077, allocations: 0.9144 MB / 1.37 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/1.078, allocations: 191.7 kB / 1.371 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.078, allocations: 95.78 kB / 1.371 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/1.079, allocations: 0.9275 MB / 1.372 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.079, allocations: 5.188 kB / 1.372 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/1.079, allocations: 33.84 kB / 1.372 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/1.079, allocations: 24.09 kB / 1.372 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/1.08, allocations: 0.6294 MB / 1.372 GB, free: 10.55 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/1.084, allocations: 4.429 MB / 1.377 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/1.085, allocations: 193.7 kB / 1.377 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/1.085, allocations: 142.3 kB / 1.377 GB, free: 7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009094/1.086, allocations: 1.019 MB / 1.378 GB, free: 5.859 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/1.086, allocations: 38.5 kB / 1.378 GB, free: 5.812 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/1.086, allocations: 0 / 1.378 GB, free: 5.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.0009718/1.087, allocations: 469.7 kB / 1.378 GB, free: 5.621 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/1.087, allocations: 53.88 kB / 1.378 GB, free: 5.559 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/1.088, allocations: 1.106 MB / 1.38 GB, free: 5.117 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/1.088, allocations: 36.17 kB / 1.38 GB, free: 5.078 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/1.088, allocations: 0.5137 MB / 1.38 GB, free: 4.672 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/1.088, allocations: 86.22 kB / 1.38 GB, free: 4.605 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/1.089, allocations: 101.6 kB / 1.38 GB, free: 4.551 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/1.089, allocations: 316.9 kB / 1.381 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/1.089, allocations: 131.6 kB / 1.381 GB, free: 4.199 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/1.089, allocations: 390.2 kB / 1.381 GB, free: 3.844 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/1.09, allocations: 466.6 kB / 1.382 GB, free: 3.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.09, allocations: 3.406 kB / 1.382 GB, free: 3.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008148/1.091, allocations: 0.5425 MB / 1.382 GB, free: 3.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.091, allocations: 11.81 kB / 1.382 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.091, allocations: 5.875 kB / 1.382 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.091, allocations: 10.16 kB / 1.382 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/1.091, allocations: 94.17 kB / 1.382 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.091, allocations: 12.47 kB / 1.382 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/1.092, allocations: 100.6 kB / 1.382 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/1.092, allocations: 24.2 kB / 1.382 GB, free: 3.219 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003298/1.092, allocations: 293.8 kB / 1.383 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.092, allocations: 102.2 kB / 1.383 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/1.093, allocations: 422.4 kB / 1.383 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.093, allocations: 5.188 kB / 1.383 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.093, allocations: 2.312 kB / 1.383 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.093, allocations: 1.922 kB / 1.383 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/1.095, allocations: 1.547 MB / 1.385 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.095, allocations: 6.781 kB / 1.385 GB, free: 1.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/1.095, allocations: 45.77 kB / 1.385 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/1.095, allocations: 6.25 kB / 1.385 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/1.095, allocations: 6.844 kB / 1.385 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.095, allocations: 6.469 kB / 1.385 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.095, allocations: 10.95 kB / 1.385 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/1.096, allocations: 0.5849 MB / 1.385 GB, free: 1.426 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/1.096, allocations: 234.8 kB / 1.385 GB, free: 1.242 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.096, allocations: 12.7 kB / 1.385 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/1.097, allocations: 14.05 kB / 1.386 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/1.097, allocations: 36.16 kB / 1.386 GB, free: 1.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/1.097, allocations: 14.62 kB / 1.386 GB, free: 1.223 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009368/1.098, allocations: 0.7786 MB / 1.386 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.098, allocations: 0 / 1.386 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008334/1.099, allocations: 283.7 kB / 1.387 GB, free: 0.8438 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/1.1, allocations: 1.347 MB / 1.388 GB, free: 15.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005584/1.101, allocations: 341.5 kB / 1.388 GB, free: 15.73 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.101, allocations: 0 / 1.388 GB, free: 15.73 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/1.101, allocations: 137.8 kB / 1.388 GB, free: 15.69 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/1.103, allocations: 0.5205 MB / 1.389 GB, free: 15.51 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008424/1.112, allocations: 7.4 MB / 1.396 GB, free: 11.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/1.112, allocations: 1.059 MB / 1.397 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00066/1.113, allocations: 204.2 kB / 1.397 GB, free: 10.47 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/1.113, allocations: 359.2 kB / 1.398 GB, free: 10.17 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/1.113, allocations: 2.531 kB / 1.398 GB, free: 10.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.444/2.558, allocations: 28.03 MB / 1.425 GB, free: 4.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/14.72, allocations: 9.688 kB / 1.425 GB, free: 4.855 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches