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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001336/0.001336, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.493/2.493, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9681/0.9697, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3212/1.291, allocations: 249 MB / 1.332 GB, free: 4.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02625/1.317, allocations: 22.27 MB / 1.354 GB, free: 14.16 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/1.32, allocations: 55.69 kB / 1.354 GB, free: 14.11 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003217/1.323, allocations: 0.9859 MB / 1.355 GB, free: 13.11 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005061/1.328, allocations: 1.52 MB / 1.356 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005916/1.334, allocations: 1.956 MB / 1.358 GB, free: 9.633 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00438/1.339, allocations: 2.702 MB / 1.361 GB, free: 6.922 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/1.341, allocations: 1.332 MB / 1.362 GB, free: 5.555 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/1.344, allocations: 1.354 MB / 1.363 GB, free: 4.195 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/1.346, allocations: 0.9066 MB / 1.364 GB, free: 3.285 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003775/1.347, allocations: 112 kB / 1.364 GB, free: 3.176 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/1.351, allocations: 1.695 MB / 1.366 GB, free: 1.477 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007025/1.352, allocations: 382.8 kB / 1.366 GB, free: 1.102 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/1.353, allocations: 0.6338 MB / 1.367 GB, free: 476 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004711/1.358, allocations: 2.274 MB / 1.369 GB, free: 14.18 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.358, allocations: 0 / 1.369 GB, free: 14.18 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.265e-06/1.358, allocations: 0 / 1.369 GB, free: 14.18 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.898e-05/1.358, allocations: 0 / 1.369 GB, free: 14.18 MB / 1.107 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.003446/1.362, allocations: 1.48 MB / 1.37 GB, free: 12.65 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.362, allocations: 11.97 kB / 1.37 GB, free: 12.64 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.363, allocations: 218.4 kB / 1.371 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/1.365, allocations: 0.9193 MB / 1.372 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/1.365, allocations: 188.8 kB / 1.372 GB, free: 11.25 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/1.365, allocations: 91.94 kB / 1.372 GB, free: 11.16 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/1.367, allocations: 0.9362 MB / 1.373 GB, free: 10.19 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/1.367, allocations: 3.984 kB / 1.373 GB, free: 10.19 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/1.367, allocations: 36 kB / 1.373 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/1.367, allocations: 24 kB / 1.373 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/1.369, allocations: 0.6285 MB / 1.373 GB, free: 9.496 MB / 1.107 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.005248/1.374, allocations: 4.423 MB / 1.378 GB, free: 4.68 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/1.374, allocations: 190.6 kB / 1.378 GB, free: 4.484 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/1.374, allocations: 144.8 kB / 1.378 GB, free: 4.34 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009956/1.375, allocations: 1.017 MB / 1.379 GB, free: 3.102 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.375, allocations: 38.55 kB / 1.379 GB, free: 3.055 MB / 1.107 GB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/1.375, allocations: 0 / 1.379 GB, free: 3.055 MB / 1.107 GB Notification: Performance of matching and sorting (n=24): time 0.001152/1.377, allocations: 469.2 kB / 1.38 GB, free: 2.59 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.377, allocations: 55.41 kB / 1.38 GB, free: 2.523 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.378, allocations: 1.11 MB / 1.381 GB, free: 1.398 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/1.378, allocations: 33.69 kB / 1.381 GB, free: 1.359 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/1.379, allocations: 0.5079 MB / 1.381 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/1.379, allocations: 86.84 kB / 1.381 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/1.379, allocations: 101.9 kB / 1.381 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.379, allocations: 322 kB / 1.382 GB, free: 344 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/1.379, allocations: 128.8 kB / 1.382 GB, free: 216 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/1.38, allocations: 391.1 kB / 1.382 GB, free: 15.71 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/1.381, allocations: 467.6 kB / 1.383 GB, free: 15.17 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.381, allocations: 4 kB / 1.383 GB, free: 15.17 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001186/1.382, allocations: 0.5349 MB / 1.383 GB, free: 14.62 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/1.382, allocations: 8 kB / 1.383 GB, free: 14.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.382, allocations: 7.938 kB / 1.383 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/1.382, allocations: 8 kB / 1.383 GB, free: 14.6 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/1.382, allocations: 96.48 kB / 1.383 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/1.382, allocations: 11.94 kB / 1.383 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/1.383, allocations: 94.94 kB / 1.383 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/1.383, allocations: 35.92 kB / 1.383 GB, free: 14.37 MB / 1.123 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.000496/1.384, allocations: 285.6 kB / 1.384 GB, free: 14.08 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.384, allocations: 102.8 kB / 1.384 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000881/1.385, allocations: 432.4 kB / 1.384 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.385, allocations: 0 / 1.384 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.385, allocations: 0 / 1.384 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/1.386, allocations: 231.7 kB / 1.384 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/1.386, allocations: 8 kB / 1.384 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/1.386, allocations: 11.98 kB / 1.384 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.386, allocations: 11.98 kB / 1.384 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006342/1.387, allocations: 365.4 kB / 1.385 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007319/1.388, allocations: 0.5278 MB / 1.385 GB, free: 12.37 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001786/1.388, allocations: 110.6 kB / 1.385 GB, free: 12.26 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001177/1.389, allocations: 0.7781 MB / 1.386 GB, free: 11.48 MB / 1.123 GB Notification: Performance of Backend: time 8.41e-07/1.389, allocations: 0 / 1.386 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002436/1.392, allocations: 0.6991 MB / 1.387 GB, free: 10.78 MB / 1.123 GB Notification: Performance of SimCode: time 0.004445/1.396, allocations: 2.304 MB / 1.389 GB, free: 8.422 MB / 1.123 GB Notification: Performance of Templates: time 0.0405/1.437, allocations: 21.33 MB / 1.41 GB, free: 3.34 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (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 & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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