Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001496/0.001496, allocations: 105.7 kB / 16.39 MB, free: 5.961 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.0017/0.0017, allocations: 196.2 kB / 17.32 MB, free: 5.59 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 442.7 MB / 0.7167 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.89 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9975/0.999, allocations: 153 MB / 1.177 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2737/1.273, allocations: 249 MB / 1.42 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03013/1.303, allocations: 22.29 MB / 1.442 GB, free: 10.55 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004059/1.307, allocations: 59.62 kB / 1.442 GB, free: 10.49 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00534/1.313, allocations: 0.9781 MB / 1.443 GB, free: 9.508 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007146/1.32, allocations: 1.469 MB / 1.444 GB, free: 8.035 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006401/1.326, allocations: 1.928 MB / 1.446 GB, free: 6.109 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005002/1.331, allocations: 2.694 MB / 1.449 GB, free: 3.406 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/1.334, allocations: 1.317 MB / 1.45 GB, free: 2.055 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004378/1.338, allocations: 1.339 MB / 1.451 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/1.34, allocations: 0.9106 MB / 1.452 GB, free: 15.8 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003873/1.341, allocations: 108 kB / 1.452 GB, free: 15.69 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/1.345, allocations: 1.68 MB / 1.454 GB, free: 14.01 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006706/1.346, allocations: 378.9 kB / 1.454 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/1.347, allocations: 0.6338 MB / 1.455 GB, free: 13 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004578/1.352, allocations: 2.282 MB / 1.457 GB, free: 10.71 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.352, allocations: 0 / 1.457 GB, free: 10.71 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.573e-06/1.352, allocations: 0 / 1.457 GB, free: 10.71 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.193e-05/1.352, allocations: 0 / 1.457 GB, free: 10.71 MB / 1.186 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.003305/1.355, allocations: 1.468 MB / 1.458 GB, free: 9.184 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.355, allocations: 8.031 kB / 1.459 GB, free: 9.176 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/1.356, allocations: 226.4 kB / 1.459 GB, free: 8.953 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/1.358, allocations: 0.9154 MB / 1.46 GB, free: 7.996 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/1.358, allocations: 188.8 kB / 1.46 GB, free: 7.785 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.358, allocations: 91.94 kB / 1.46 GB, free: 7.695 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/1.36, allocations: 0.9324 MB / 1.461 GB, free: 6.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.36, allocations: 0 / 1.461 GB, free: 6.73 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.235e-05/1.36, allocations: 39.94 kB / 1.461 GB, free: 6.691 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/1.36, allocations: 24 kB / 1.461 GB, free: 6.668 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/1.361, allocations: 0.6324 MB / 1.461 GB, free: 6.031 MB / 1.186 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.004647/1.366, allocations: 4.42 MB / 1.466 GB, free: 1.219 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/1.366, allocations: 188.7 kB / 1.466 GB, free: 1.027 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/1.366, allocations: 144.7 kB / 1.466 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.367, allocations: 1.025 MB / 1.467 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.367, allocations: 38.56 kB / 1.467 GB, free: 15.59 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 2.465e-06/1.367, allocations: 3.938 kB / 1.467 GB, free: 15.59 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.00112/1.368, allocations: 473.8 kB / 1.468 GB, free: 15.12 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.369, allocations: 55.41 kB / 1.468 GB, free: 15.05 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/1.37, allocations: 1.11 MB / 1.469 GB, free: 13.93 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/1.37, allocations: 33.7 kB / 1.469 GB, free: 13.89 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/1.37, allocations: 0.504 MB / 1.469 GB, free: 13.38 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/1.371, allocations: 90.73 kB / 1.469 GB, free: 13.29 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/1.371, allocations: 98.02 kB / 1.469 GB, free: 13.19 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.371, allocations: 322 kB / 1.47 GB, free: 12.87 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/1.371, allocations: 128.8 kB / 1.47 GB, free: 12.74 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/1.372, allocations: 383.1 kB / 1.47 GB, free: 12.26 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/1.372, allocations: 467.6 kB / 1.471 GB, free: 11.71 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.372, allocations: 4 kB / 1.471 GB, free: 11.71 MB / 1.201 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009941/1.373, allocations: 0.5388 MB / 1.471 GB, free: 11.16 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/1.373, allocations: 11.98 kB / 1.471 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.373, allocations: 11.94 kB / 1.471 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.373, allocations: 8.688 kB / 1.471 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/1.374, allocations: 87.84 kB / 1.471 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/1.374, allocations: 19.92 kB / 1.471 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/1.375, allocations: 98.95 kB / 1.471 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/1.375, allocations: 27.98 kB / 1.471 GB, free: 10.9 MB / 1.201 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.0003895/1.375, allocations: 281.6 kB / 1.472 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.375, allocations: 106.7 kB / 1.472 GB, free: 10.51 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007761/1.376, allocations: 429.6 kB / 1.472 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.376, allocations: 7.922 kB / 1.472 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.376, allocations: 0 / 1.472 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/1.376, allocations: 231.7 kB / 1.472 GB, free: 9.836 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.376, allocations: 4 kB / 1.472 GB, free: 9.832 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/1.377, allocations: 7.984 kB / 1.472 GB, free: 9.824 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/1.377, allocations: 19.97 kB / 1.472 GB, free: 9.805 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005428/1.377, allocations: 356.8 kB / 1.473 GB, free: 9.449 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005552/1.378, allocations: 0.5253 MB / 1.473 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001763/1.378, allocations: 115.9 kB / 1.473 GB, free: 8.793 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001017/1.379, allocations: 0.7703 MB / 1.474 GB, free: 8.016 MB / 1.201 GB Notification: Performance of Backend: time 6.71e-07/1.379, allocations: 4 kB / 1.474 GB, free: 8.012 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002135/1.381, allocations: 0.6931 MB / 1.475 GB, free: 7.32 MB / 1.201 GB Notification: Performance of SimCode: time 0.004096/1.385, allocations: 2.305 MB / 1.477 GB, free: 4.965 MB / 1.201 GB Notification: Performance of Templates: time 0.03863/1.424, allocations: 21.2 MB / 1.498 GB, free: 15.98 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches