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.002073/0.002073, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.002185/0.002185, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.431/1.431, 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.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.7 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3305, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.8769/1.207, allocations: 170.3 MB / 1.117 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00654/1.214, allocations: 6.007 MB / 1.123 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/1.215, allocations: 14.47 kB / 1.123 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006857/1.215, allocations: 186.8 kB / 1.124 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003963/1.216, allocations: 94 kB / 1.124 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/1.217, allocations: 0.5176 MB / 1.124 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005887/1.218, allocations: 412.1 kB / 1.124 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/1.218, allocations: 138.9 kB / 1.125 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/1.219, allocations: 191.4 kB / 1.125 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/1.219, allocations: 149.5 kB / 1.125 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/1.219, allocations: 16.81 kB / 1.125 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009876/1.22, allocations: 455.3 kB / 1.125 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/1.22, allocations: 68.47 kB / 1.125 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/1.22, allocations: 106.2 kB / 1.126 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008344/1.221, allocations: 452.4 kB / 1.126 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.221, allocations: 1.203 kB / 1.126 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/1.221, allocations: 0 / 1.126 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.258e-05/1.221, allocations: 5.094 kB / 1.126 GB, free: 5.023 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.0008525/1.222, allocations: 0.5153 MB / 1.127 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.222, allocations: 10.58 kB / 1.127 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/1.222, allocations: 43.23 kB / 1.127 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/1.223, allocations: 263.4 kB / 1.127 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/1.223, allocations: 133.7 kB / 1.127 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/1.223, allocations: 21.06 kB / 1.127 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/1.223, allocations: 296.4 kB / 1.127 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.223, allocations: 2.625 kB / 1.127 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/1.223, allocations: 10.12 kB / 1.127 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/1.223, allocations: 6.938 kB / 1.127 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/1.224, allocations: 159.6 kB / 1.127 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/1.225, allocations: 1.578 MB / 1.129 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/1.225, allocations: 171 kB / 1.129 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/1.225, allocations: 80.14 kB / 1.129 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.225, allocations: 80.28 kB / 1.129 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/1.225, allocations: 110.6 kB / 1.129 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.225, allocations: 0 / 1.129 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001/1.226, allocations: 55 kB / 1.129 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/1.226, allocations: 126.7 kB / 1.13 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/1.226, allocations: 311.9 kB / 1.13 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/1.226, allocations: 27.08 kB / 1.13 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/1.226, allocations: 193 kB / 1.13 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/1.226, allocations: 8.797 kB / 1.13 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/1.226, allocations: 45.05 kB / 1.13 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.226, allocations: 331.9 kB / 1.13 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/1.227, allocations: 39.28 kB / 1.13 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/1.227, allocations: 164.2 kB / 1.131 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/1.227, allocations: 199.9 kB / 1.131 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.227, allocations: 2.906 kB / 1.131 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004463/1.227, allocations: 215.9 kB / 1.131 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.227, allocations: 7.156 kB / 1.131 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.227, allocations: 12.95 kB / 1.131 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.228, allocations: 5.594 kB / 1.131 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/1.228, allocations: 37.2 kB / 1.131 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.228, allocations: 9.375 kB / 1.131 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/1.228, allocations: 32.56 kB / 1.131 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/1.228, allocations: 11.59 kB / 1.131 GB, free: 17.17 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.0001547/1.228, allocations: 222.7 kB / 1.131 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/1.228, allocations: 121.1 kB / 1.131 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/1.228, allocations: 126 kB / 1.132 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/1.228, allocations: 181.1 kB / 1.132 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.278e-05/1.228, allocations: 180.5 kB / 1.132 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-05/1.228, allocations: 181.2 kB / 1.132 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/1.229, allocations: 484.4 kB / 1.133 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/1.229, allocations: 106.8 kB / 1.133 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/1.229, allocations: 104.6 kB / 1.133 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.98e-05/1.229, allocations: 183.4 kB / 1.133 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.458e-05/1.229, allocations: 188.7 kB / 1.133 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.774e-05/1.229, allocations: 178.1 kB / 1.133 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.776e-05/1.229, allocations: 192.1 kB / 1.133 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/1.229, allocations: 315.7 kB / 1.134 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/1.229, allocations: 211 kB / 1.134 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/1.23, allocations: 183.2 kB / 1.134 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.23, allocations: 108.6 kB / 1.134 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/1.23, allocations: 180.9 kB / 1.134 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/1.23, allocations: 103.8 kB / 1.135 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000261/1.23, allocations: 218.4 kB / 1.135 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.23, allocations: 0 / 1.135 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004007/1.23, allocations: 54.36 kB / 1.135 GB, free: 13.63 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.0003036/1.231, allocations: 206.6 kB / 1.135 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002178/1.231, allocations: 84.78 kB / 1.135 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.231, allocations: 5.438 kB / 1.135 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/1.231, allocations: 2.531 kB / 1.135 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/1.232, allocations: 486.7 kB / 1.136 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/1.232, allocations: 399.1 kB / 1.136 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/1.233, allocations: 0.7402 MB / 1.137 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001355/1.233, allocations: 36.81 kB / 1.137 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/1.233, allocations: 16.38 kB / 1.137 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/1.233, allocations: 0 / 1.137 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.006037/1.239, allocations: 1.81 MB / 1.138 GB, free: 11.86 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 cvode -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