Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 110.9 kB / 16.39 MB, free: 6.441 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.0018/0.0018, allocations: 192.2 kB / 17.32 MB, free: 5.754 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.405/1.405, 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.616/2.616, allocations: 442.7 MB / 0.7167 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 67.89 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9328/0.9351, allocations: 153 MB / 1.177 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1997/1.135, allocations: 174 MB / 1.347 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.145, allocations: 9.506 MB / 1.356 GB, free: 2.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/1.146, allocations: 8 kB / 1.356 GB, free: 2.562 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007704/1.147, allocations: 198.6 kB / 1.356 GB, free: 2.367 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004109/1.147, allocations: 91.36 kB / 1.356 GB, free: 2.277 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/1.147, allocations: 63.92 kB / 1.356 GB, free: 2.215 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005129/1.148, allocations: 318.7 kB / 1.357 GB, free: 1.902 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/1.148, allocations: 148.5 kB / 1.357 GB, free: 1.758 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/1.149, allocations: 159.4 kB / 1.357 GB, free: 1.602 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/1.149, allocations: 99.44 kB / 1.357 GB, free: 1.504 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/1.149, allocations: 16 kB / 1.357 GB, free: 1.488 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-05/1.149, allocations: 16 kB / 1.357 GB, free: 1.473 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/1.149, allocations: 43.84 kB / 1.357 GB, free: 1.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/1.149, allocations: 95.53 kB / 1.357 GB, free: 1.336 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/1.149, allocations: 220.9 kB / 1.357 GB, free: 1.121 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/1.149, allocations: 0 / 1.357 GB, free: 1.121 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.152e-06/1.149, allocations: 0 / 1.357 GB, free: 1.121 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.596e-05/1.149, allocations: 0 / 1.357 GB, free: 1.121 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005423/1.15, allocations: 483 kB / 1.358 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/1.15, allocations: 8.031 kB / 1.358 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/1.15, allocations: 27.66 kB / 1.358 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/1.151, allocations: 261 kB / 1.358 GB, free: 280 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/1.151, allocations: 12.44 kB / 1.358 GB, free: 268 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/1.151, allocations: 20 kB / 1.358 GB, free: 248 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/1.151, allocations: 235.8 kB / 1.358 GB, free: 15.98 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.151, allocations: 3.938 kB / 1.358 GB, free: 15.97 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/1.151, allocations: 11.94 kB / 1.358 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/1.151, allocations: 4 kB / 1.358 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/1.151, allocations: 83.84 kB / 1.358 GB, free: 15.88 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/1.152, allocations: 1.441 MB / 1.36 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 8.122e-05/1.152, allocations: 165.1 kB / 1.36 GB, free: 14.18 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/1.153, allocations: 88.11 kB / 1.36 GB, free: 14.09 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/1.153, allocations: 79.28 kB / 1.36 GB, free: 14.01 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.153, allocations: 113.8 kB / 1.36 GB, free: 13.89 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/1.153, allocations: 0 / 1.36 GB, free: 13.89 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0001056/1.153, allocations: 57.5 kB / 1.36 GB, free: 13.82 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/1.153, allocations: 55.34 kB / 1.36 GB, free: 13.76 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/1.153, allocations: 283 kB / 1.361 GB, free: 13.48 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.153, allocations: 25.7 kB / 1.361 GB, free: 13.45 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/1.153, allocations: 147.9 kB / 1.361 GB, free: 13.3 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/1.153, allocations: 0 / 1.361 GB, free: 13.3 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/1.153, allocations: 17.7 kB / 1.361 GB, free: 13.27 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.153, allocations: 338.8 kB / 1.361 GB, free: 12.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/1.153, allocations: 7.984 kB / 1.361 GB, free: 12.93 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/1.153, allocations: 27.38 kB / 1.361 GB, free: 12.89 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/1.154, allocations: 31.44 kB / 1.361 GB, free: 12.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.154, allocations: 0 / 1.361 GB, free: 12.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001749/1.154, allocations: 77.28 kB / 1.361 GB, free: 12.76 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.154, allocations: 8 kB / 1.361 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.154, allocations: 4 kB / 1.361 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.154, allocations: 0 / 1.361 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/1.154, allocations: 8 kB / 1.361 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/1.154, allocations: 0 / 1.361 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.697e-05/1.154, allocations: 31.81 kB / 1.361 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/1.154, allocations: 0 / 1.361 GB, free: 12.71 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000171/1.154, allocations: 205 kB / 1.362 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/1.154, allocations: 124.7 kB / 1.362 GB, free: 12.37 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/1.154, allocations: 117.9 kB / 1.362 GB, free: 12.25 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.052e-05/1.154, allocations: 184.2 kB / 1.362 GB, free: 12.06 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/1.155, allocations: 105 kB / 1.362 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/1.155, allocations: 201.8 kB / 1.362 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.155, allocations: 180.2 kB / 1.362 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/1.155, allocations: 108.9 kB / 1.363 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/1.155, allocations: 188.2 kB / 1.363 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.812e-05/1.155, allocations: 255.5 kB / 1.363 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001729/1.155, allocations: 398.8 kB / 1.363 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.712e-05/1.155, allocations: 109 kB / 1.363 GB, free: 10.45 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001952/1.155, allocations: 205.9 kB / 1.364 GB, free: 10.25 MB / 1.092 GB Notification: Performance of Backend: time 5.11e-07/1.155, allocations: 0 / 1.364 GB, free: 10.25 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004039/1.156, allocations: 94.34 kB / 1.364 GB, free: 10.15 MB / 1.092 GB Notification: Performance of SimCode: time 0.001182/1.157, allocations: 1.131 MB / 1.365 GB, free: 8.977 MB / 1.092 GB Notification: Performance of Templates: time 0.005771/1.163, allocations: 2.42 MB / 1.367 GB, free: 6.578 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches