Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001552/0.001552, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.001747/0.001747, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.98 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.796/1.098, allocations: 170.3 MB / 1.117 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005923/1.104, allocations: 6.01 MB / 1.123 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/1.104, allocations: 10.88 kB / 1.123 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/1.105, allocations: 181.6 kB / 1.124 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/1.105, allocations: 91.78 kB / 1.124 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/1.106, allocations: 0.5185 MB / 1.124 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005323/1.107, allocations: 416.6 kB / 1.124 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/1.107, allocations: 138 kB / 1.125 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/1.107, allocations: 188.5 kB / 1.125 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/1.108, allocations: 151 kB / 1.125 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/1.108, allocations: 17.47 kB / 1.125 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/1.109, allocations: 452.2 kB / 1.125 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/1.109, allocations: 70.75 kB / 1.125 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/1.109, allocations: 101.7 kB / 1.126 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007439/1.11, allocations: 455.2 kB / 1.126 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.11, allocations: 5.031 kB / 1.126 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/1.11, allocations: 0 / 1.126 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.11, allocations: 1.656 kB / 1.126 GB, free: 5.422 MB / 0.8575 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.0008174/1.111, allocations: 0.515 MB / 1.127 GB, free: 21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.111, allocations: 8.719 kB / 1.127 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/1.111, allocations: 42.55 kB / 1.127 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/1.111, allocations: 272 kB / 1.127 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/1.112, allocations: 130.8 kB / 1.127 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/1.112, allocations: 20.91 kB / 1.127 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/1.112, allocations: 298.5 kB / 1.127 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.112, allocations: 0.75 kB / 1.127 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/1.112, allocations: 10.41 kB / 1.127 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/1.112, allocations: 6.719 kB / 1.127 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/1.112, allocations: 159.9 kB / 1.127 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/1.114, allocations: 1.581 MB / 1.129 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/1.114, allocations: 167.8 kB / 1.129 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/1.114, allocations: 84.38 kB / 1.129 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/1.114, allocations: 80.75 kB / 1.129 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/1.114, allocations: 109.2 kB / 1.129 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/1.114, allocations: 0 / 1.129 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.182e-05/1.114, allocations: 51.19 kB / 1.129 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.114, allocations: 132 kB / 1.13 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/1.115, allocations: 308 kB / 1.13 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/1.115, allocations: 32.23 kB / 1.13 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.115, allocations: 192.7 kB / 1.13 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/1.115, allocations: 5.766 kB / 1.13 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/1.115, allocations: 43.83 kB / 1.13 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.115, allocations: 331.3 kB / 1.13 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/1.115, allocations: 40.48 kB / 1.13 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/1.115, allocations: 161.9 kB / 1.131 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/1.115, allocations: 197.2 kB / 1.131 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.115, allocations: 1.219 kB / 1.131 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004374/1.116, allocations: 217.1 kB / 1.131 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.116, allocations: 8.312 kB / 1.131 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.116, allocations: 8.344 kB / 1.131 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.116, allocations: 5.906 kB / 1.131 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/1.116, allocations: 37.17 kB / 1.131 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.116, allocations: 10.42 kB / 1.131 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/1.116, allocations: 33.28 kB / 1.131 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/1.116, allocations: 15 kB / 1.131 GB, free: 17.57 MB / 0.8731 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.0001314/1.116, allocations: 225 kB / 1.131 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/1.116, allocations: 117.6 kB / 1.131 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/1.117, allocations: 134.5 kB / 1.132 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.775e-05/1.117, allocations: 178.4 kB / 1.132 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.414e-05/1.117, allocations: 181.2 kB / 1.132 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-05/1.117, allocations: 187.6 kB / 1.132 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/1.117, allocations: 480.9 kB / 1.133 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/1.117, allocations: 106.8 kB / 1.133 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/1.117, allocations: 108.4 kB / 1.133 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.377e-05/1.117, allocations: 178.7 kB / 1.133 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/1.117, allocations: 187.8 kB / 1.133 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.998e-05/1.117, allocations: 180.8 kB / 1.133 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.051e-05/1.117, allocations: 185.5 kB / 1.133 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/1.117, allocations: 315.2 kB / 1.134 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.118, allocations: 212.8 kB / 1.134 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/1.118, allocations: 188.6 kB / 1.134 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.118, allocations: 102.9 kB / 1.134 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/1.118, allocations: 179.5 kB / 1.134 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/1.118, allocations: 106.6 kB / 1.135 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002376/1.118, allocations: 219.2 kB / 1.135 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/1.118, allocations: 0 / 1.135 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003759/1.119, allocations: 54.73 kB / 1.135 GB, free: 14.03 MB / 0.8731 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.0002756/1.119, allocations: 208.7 kB / 1.135 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001953/1.119, allocations: 80.23 kB / 1.135 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.119, allocations: 3.969 kB / 1.135 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/1.119, allocations: 0 / 1.135 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/1.12, allocations: 481.3 kB / 1.136 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/1.12, allocations: 395 kB / 1.136 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/1.12, allocations: 0.7395 MB / 1.137 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001234/1.121, allocations: 35.81 kB / 1.137 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/1.121, allocations: 17.08 kB / 1.137 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/1.121, allocations: 0 / 1.137 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of Templates: time 0.004882/1.125, allocations: 1.823 MB / 1.138 GB, free: 12.26 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches