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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001323/0.001324, allocations: 112.8 kB / 16.42 MB, free: 6.457 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.001286/0.001286, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 71.83 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9317/0.933, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2622/1.195, allocations: 249 MB / 1.464 GB, free: 8.453 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02524/1.221, allocations: 22.29 MB / 1.486 GB, free: 2.094 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/1.223, allocations: 51.69 kB / 1.486 GB, free: 2.043 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002945/1.226, allocations: 0.9899 MB / 1.487 GB, free: 1.047 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004368/1.23, allocations: 1.514 MB / 1.488 GB, free: 15.53 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004932/1.235, allocations: 1.973 MB / 1.49 GB, free: 13.56 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003753/1.239, allocations: 2.69 MB / 1.493 GB, free: 10.86 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/1.241, allocations: 1.32 MB / 1.494 GB, free: 9.496 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/1.243, allocations: 1.358 MB / 1.495 GB, free: 8.133 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/1.245, allocations: 0.9183 MB / 1.496 GB, free: 7.211 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002742/1.245, allocations: 108 kB / 1.496 GB, free: 7.105 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/1.249, allocations: 1.687 MB / 1.498 GB, free: 5.414 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004995/1.249, allocations: 382.9 kB / 1.498 GB, free: 5.039 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/1.25, allocations: 0.6376 MB / 1.499 GB, free: 4.398 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004177/1.255, allocations: 2.274 MB / 1.501 GB, free: 2.117 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.255, allocations: 4 kB / 1.501 GB, free: 2.113 MB / 1.217 GB Notification: Performance of FrontEnd: time 4.157e-06/1.255, allocations: 0 / 1.501 GB, free: 2.113 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.74e-05/1.255, allocations: 3.938 kB / 1.501 GB, free: 2.109 MB / 1.217 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.003007/1.258, allocations: 1.463 MB / 1.503 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.258, allocations: 8.625 kB / 1.503 GB, free: 0.5898 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/1.259, allocations: 230.4 kB / 1.503 GB, free: 372 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/1.261, allocations: 0.931 MB / 1.504 GB, free: 15.39 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/1.261, allocations: 176.8 kB / 1.504 GB, free: 15.19 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.261, allocations: 99.94 kB / 1.504 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/1.263, allocations: 0.9285 MB / 1.505 GB, free: 14.13 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.263, allocations: 3.938 kB / 1.505 GB, free: 14.12 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/1.263, allocations: 40 kB / 1.505 GB, free: 14.09 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/1.263, allocations: 20 kB / 1.505 GB, free: 14.07 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/1.264, allocations: 0.6285 MB / 1.506 GB, free: 13.44 MB / 1.232 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.004421/1.268, allocations: 4.427 MB / 1.51 GB, free: 8.617 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/1.269, allocations: 186.5 kB / 1.51 GB, free: 8.426 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/1.269, allocations: 148.8 kB / 1.51 GB, free: 8.277 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/1.27, allocations: 1.017 MB / 1.511 GB, free: 7.039 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/1.27, allocations: 42.58 kB / 1.511 GB, free: 6.988 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/1.27, allocations: 0 / 1.511 GB, free: 6.988 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.001073/1.271, allocations: 464.1 kB / 1.512 GB, free: 6.527 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/1.271, allocations: 55.41 kB / 1.512 GB, free: 6.461 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/1.272, allocations: 1.11 MB / 1.513 GB, free: 5.336 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/1.273, allocations: 33.7 kB / 1.513 GB, free: 5.297 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/1.273, allocations: 0.504 MB / 1.514 GB, free: 4.789 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/1.273, allocations: 90.73 kB / 1.514 GB, free: 4.699 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.273, allocations: 90.03 kB / 1.514 GB, free: 4.605 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.273, allocations: 330 kB / 1.514 GB, free: 4.277 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/1.274, allocations: 128.8 kB / 1.514 GB, free: 4.152 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/1.274, allocations: 391.7 kB / 1.515 GB, free: 3.66 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/1.275, allocations: 467.6 kB / 1.515 GB, free: 3.117 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.275, allocations: 0 / 1.515 GB, free: 3.117 MB / 1.232 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009608/1.276, allocations: 0.5391 MB / 1.515 GB, free: 2.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.276, allocations: 8 kB / 1.515 GB, free: 2.562 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.276, allocations: 11.94 kB / 1.515 GB, free: 2.551 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.276, allocations: 8 kB / 1.516 GB, free: 2.543 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/1.276, allocations: 87.83 kB / 1.516 GB, free: 2.457 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/1.276, allocations: 8 kB / 1.516 GB, free: 2.449 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/1.277, allocations: 99.22 kB / 1.516 GB, free: 2.352 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/1.277, allocations: 31.98 kB / 1.516 GB, free: 2.32 MB / 1.232 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.000365/1.277, allocations: 285.6 kB / 1.516 GB, free: 2.031 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/1.277, allocations: 106.6 kB / 1.516 GB, free: 1.926 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007392/1.278, allocations: 423.9 kB / 1.516 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.278, allocations: 0 / 1.516 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.278, allocations: 4.281 kB / 1.516 GB, free: 1.5 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/1.279, allocations: 235.6 kB / 1.517 GB, free: 1.25 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.279, allocations: 4 kB / 1.517 GB, free: 1.246 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/1.279, allocations: 19.92 kB / 1.517 GB, free: 1.227 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/1.279, allocations: 11.97 kB / 1.517 GB, free: 1.215 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005478/1.28, allocations: 360.6 kB / 1.517 GB, free: 0.8555 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005738/1.28, allocations: 0.5364 MB / 1.518 GB, free: 312 kB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001697/1.28, allocations: 107.9 kB / 1.518 GB, free: 204 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001066/1.282, allocations: 0.7782 MB / 1.518 GB, free: 15.41 MB / 1.248 GB Notification: Performance of Backend: time 4.61e-07/1.282, allocations: 0 / 1.518 GB, free: 15.41 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001966/1.283, allocations: 0.6921 MB / 1.519 GB, free: 14.73 MB / 1.248 GB Notification: Performance of SimCode: time 0.003901/1.287, allocations: 2.315 MB / 1.521 GB, free: 12.36 MB / 1.248 GB Notification: Performance of Templates: time 0.03393/1.321, allocations: 21.32 MB / 1.542 GB, free: 7.266 MB / 1.264 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