Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007597/0.007597, allocations: 102 kB / 15.73 MB, free: 6.039 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.001546/0.001546, allocations: 194 kB / 16.67 MB, free: 5.961 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 68.11 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8985/0.9001, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2146/1.115, allocations: 170.3 MB / 1.374 GB, free: 2.641 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006477/1.121, allocations: 6.006 MB / 1.38 GB, free: 12.62 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/1.122, allocations: 11.94 kB / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000672/1.122, allocations: 186.7 kB / 1.38 GB, free: 12.43 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004382/1.123, allocations: 91.44 kB / 1.38 GB, free: 12.34 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/1.124, allocations: 0.5216 MB / 1.381 GB, free: 11.81 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006688/1.125, allocations: 418.7 kB / 1.381 GB, free: 11.4 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/1.125, allocations: 139.5 kB / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/1.126, allocations: 183.4 kB / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/1.126, allocations: 151.4 kB / 1.382 GB, free: 10.93 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/1.126, allocations: 16 kB / 1.382 GB, free: 10.91 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008297/1.127, allocations: 458.8 kB / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/1.127, allocations: 79.73 kB / 1.382 GB, free: 10.39 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/1.127, allocations: 103.5 kB / 1.382 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006281/1.128, allocations: 448.5 kB / 1.383 GB, free: 9.848 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.128, allocations: 0 / 1.383 GB, free: 9.848 MB / 1.107 GB Notification: Performance of FrontEnd: time 5.04e-06/1.128, allocations: 3.984 kB / 1.383 GB, free: 9.844 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.128, allocations: 7.875 kB / 1.383 GB, free: 9.836 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006607/1.129, allocations: 0.5185 MB / 1.383 GB, free: 9.27 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.129, allocations: 8.031 kB / 1.383 GB, free: 9.262 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/1.129, allocations: 47.7 kB / 1.383 GB, free: 9.215 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/1.129, allocations: 254.6 kB / 1.383 GB, free: 8.926 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/1.129, allocations: 139.3 kB / 1.384 GB, free: 8.766 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/1.129, allocations: 20 kB / 1.384 GB, free: 8.746 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/1.13, allocations: 298.8 kB / 1.384 GB, free: 8.418 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.13, allocations: 3.938 kB / 1.384 GB, free: 8.414 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/1.13, allocations: 12 kB / 1.384 GB, free: 8.402 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/1.13, allocations: 8 kB / 1.384 GB, free: 8.395 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/1.13, allocations: 156.6 kB / 1.384 GB, free: 8.242 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/1.132, allocations: 1.575 MB / 1.386 GB, free: 6.578 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/1.132, allocations: 177.1 kB / 1.386 GB, free: 6.395 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/1.132, allocations: 84.08 kB / 1.386 GB, free: 6.309 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/1.132, allocations: 75.28 kB / 1.386 GB, free: 6.234 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/1.132, allocations: 105.8 kB / 1.386 GB, free: 6.121 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/1.132, allocations: 0 / 1.386 GB, free: 6.121 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 8.95e-05/1.132, allocations: 49.45 kB / 1.386 GB, free: 6.066 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/1.132, allocations: 130.7 kB / 1.386 GB, free: 5.926 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/1.132, allocations: 314.5 kB / 1.386 GB, free: 5.609 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/1.132, allocations: 25.7 kB / 1.386 GB, free: 5.578 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.133, allocations: 195.1 kB / 1.387 GB, free: 5.383 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/1.133, allocations: 0 / 1.387 GB, free: 5.383 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/1.133, allocations: 45.64 kB / 1.387 GB, free: 5.332 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.133, allocations: 330.8 kB / 1.387 GB, free: 5 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/1.133, allocations: 39.97 kB / 1.387 GB, free: 4.961 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/1.133, allocations: 158.5 kB / 1.387 GB, free: 4.746 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/1.133, allocations: 200.9 kB / 1.387 GB, free: 4.488 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.133, allocations: 3.938 kB / 1.387 GB, free: 4.484 MB / 1.107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004011/1.134, allocations: 217 kB / 1.388 GB, free: 4.266 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.134, allocations: 11.94 kB / 1.388 GB, free: 4.254 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.134, allocations: 4 kB / 1.388 GB, free: 4.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.134, allocations: 4 kB / 1.388 GB, free: 4.246 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.134, allocations: 40.55 kB / 1.388 GB, free: 4.207 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.134, allocations: 11.94 kB / 1.388 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/1.134, allocations: 31.69 kB / 1.388 GB, free: 4.164 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/1.134, allocations: 8 kB / 1.388 GB, free: 4.156 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001477/1.134, allocations: 225 kB / 1.388 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/1.134, allocations: 128.7 kB / 1.388 GB, free: 3.793 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/1.134, allocations: 125.8 kB / 1.388 GB, free: 3.668 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-05/1.134, allocations: 184.2 kB / 1.388 GB, free: 3.48 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-05/1.135, allocations: 180.2 kB / 1.389 GB, free: 3.297 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.208e-05/1.135, allocations: 184.2 kB / 1.389 GB, free: 3.109 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/1.135, allocations: 481.1 kB / 1.389 GB, free: 2.582 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/1.135, allocations: 108.9 kB / 1.389 GB, free: 2.469 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/1.135, allocations: 101 kB / 1.389 GB, free: 2.363 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-05/1.135, allocations: 188.2 kB / 1.39 GB, free: 2.172 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/1.135, allocations: 184.2 kB / 1.39 GB, free: 1.984 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.434e-05/1.135, allocations: 176.3 kB / 1.39 GB, free: 1.805 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.928e-05/1.135, allocations: 188.1 kB / 1.39 GB, free: 1.613 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/1.135, allocations: 319.6 kB / 1.39 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/1.136, allocations: 206.1 kB / 1.391 GB, free: 1.051 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/1.136, allocations: 184.2 kB / 1.391 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/1.136, allocations: 109 kB / 1.391 GB, free: 0.75 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/1.136, allocations: 184.3 kB / 1.391 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/1.136, allocations: 101 kB / 1.391 GB, free: 468 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002245/1.136, allocations: 229.9 kB / 1.391 GB, free: 240 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.136, allocations: 0 / 1.391 GB, free: 240 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003438/1.136, allocations: 55.84 kB / 1.391 GB, free: 184 kB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004716/1.137, allocations: 206.5 kB / 1.392 GB, free: 15.97 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002487/1.137, allocations: 80.97 kB / 1.392 GB, free: 15.89 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.137, allocations: 0 / 1.392 GB, free: 15.89 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/1.137, allocations: 0 / 1.392 GB, free: 15.89 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/1.138, allocations: 482.5 kB / 1.392 GB, free: 15.42 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/1.139, allocations: 385 kB / 1.393 GB, free: 15.01 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/1.139, allocations: 0.7437 MB / 1.393 GB, free: 14.24 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001236/1.139, allocations: 41.88 kB / 1.393 GB, free: 14.2 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/1.139, allocations: 15.44 kB / 1.393 GB, free: 14.18 MB / 1.123 GB Notification: Performance of SimCode: time 2.5e-07/1.139, allocations: 0 / 1.393 GB, free: 14.18 MB / 1.123 GB Notification: Performance of Templates: time 0.005743/1.145, allocations: 1.867 MB / 1.395 GB, free: 12.32 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches