Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001514/0.001514, allocations: 104.2 kB / 16.35 MB, free: 6.336 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.001418/0.001418, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 68.08 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3642, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.8095/1.174, allocations: 170.3 MB / 1.185 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006422/1.18, allocations: 5.997 MB / 1.191 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/1.181, allocations: 6.344 kB / 1.191 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005608/1.181, allocations: 198.3 kB / 1.191 GB, free: 132 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/1.181, allocations: 84.91 kB / 1.191 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/1.183, allocations: 0.5108 MB / 1.192 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004509/1.183, allocations: 417 kB / 1.192 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/1.183, allocations: 136.2 kB / 1.192 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/1.184, allocations: 198 kB / 1.192 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/1.184, allocations: 146.5 kB / 1.193 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/1.184, allocations: 18.41 kB / 1.193 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006337/1.184, allocations: 458.2 kB / 1.193 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/1.185, allocations: 73 kB / 1.193 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/1.185, allocations: 104.9 kB / 1.193 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000562/1.185, allocations: 451.3 kB / 1.194 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.185, allocations: 4 kB / 1.194 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.272e-06/1.185, allocations: 0 / 1.194 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.822e-06/1.185, allocations: 0 / 1.194 GB, free: 14.5 MB / 0.9044 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.0005484/1.186, allocations: 0.5128 MB / 1.194 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.186, allocations: 15.14 kB / 1.194 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/1.186, allocations: 42.52 kB / 1.194 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/1.187, allocations: 272.3 kB / 1.194 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.187, allocations: 127.7 kB / 1.195 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/1.187, allocations: 22.69 kB / 1.195 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/1.187, allocations: 298.9 kB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.187, allocations: 2.25 kB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/1.187, allocations: 10.59 kB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/1.187, allocations: 5.344 kB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/1.187, allocations: 164.7 kB / 1.195 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/1.189, allocations: 1.581 MB / 1.197 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.188e-05/1.189, allocations: 165.1 kB / 1.197 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/1.189, allocations: 80.14 kB / 1.197 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/1.189, allocations: 83.27 kB / 1.197 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/1.189, allocations: 108.5 kB / 1.197 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.189, allocations: 3.938 kB / 1.197 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.713e-05/1.189, allocations: 53.23 kB / 1.197 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/1.189, allocations: 126.7 kB / 1.197 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/1.19, allocations: 311.4 kB / 1.198 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/1.19, allocations: 25.7 kB / 1.198 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.19, allocations: 191.4 kB / 1.198 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.73e-06/1.19, allocations: 6.969 kB / 1.198 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/1.19, allocations: 47.03 kB / 1.198 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.19, allocations: 327.1 kB / 1.198 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/1.19, allocations: 37.56 kB / 1.198 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/1.19, allocations: 162 kB / 1.198 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/1.191, allocations: 197.8 kB / 1.198 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.191, allocations: 2.25 kB / 1.198 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003627/1.191, allocations: 216.3 kB / 1.199 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.191, allocations: 7.75 kB / 1.199 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.191, allocations: 9.438 kB / 1.199 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.191, allocations: 4.031 kB / 1.199 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/1.191, allocations: 41.47 kB / 1.199 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.191, allocations: 5.094 kB / 1.199 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/1.191, allocations: 31.06 kB / 1.199 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/1.191, allocations: 14.03 kB / 1.199 GB, free: 9.727 MB / 0.9044 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.0001527/1.192, allocations: 222.9 kB / 1.199 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/1.192, allocations: 130.7 kB / 1.199 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/1.192, allocations: 124.5 kB / 1.199 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.741e-05/1.192, allocations: 181.2 kB / 1.199 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-05/1.192, allocations: 181.5 kB / 1.2 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.307e-05/1.192, allocations: 181.4 kB / 1.2 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/1.192, allocations: 489.5 kB / 1.2 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/1.192, allocations: 102.4 kB / 1.2 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/1.192, allocations: 104.9 kB / 1.2 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-05/1.192, allocations: 178.2 kB / 1.201 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/1.192, allocations: 185.7 kB / 1.201 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.358e-05/1.193, allocations: 184.4 kB / 1.201 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.981e-05/1.193, allocations: 189.3 kB / 1.201 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/1.193, allocations: 318.9 kB / 1.201 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/1.193, allocations: 208.1 kB / 1.202 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/1.193, allocations: 189.2 kB / 1.202 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.193, allocations: 106.2 kB / 1.202 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/1.193, allocations: 185.5 kB / 1.202 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/1.193, allocations: 102.1 kB / 1.202 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000253/1.193, allocations: 222.4 kB / 1.202 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/1.194, allocations: 0 / 1.202 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003456/1.194, allocations: 45.78 kB / 1.202 GB, free: 5.965 MB / 0.9044 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.0002593/1.194, allocations: 214.2 kB / 1.203 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002021/1.194, allocations: 83.67 kB / 1.203 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.194, allocations: 0 / 1.203 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/1.194, allocations: 1.219 kB / 1.203 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/1.195, allocations: 488.1 kB / 1.203 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/1.195, allocations: 395.3 kB / 1.204 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/1.196, allocations: 0.738 MB / 1.204 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00011/1.196, allocations: 37.97 kB / 1.204 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/1.196, allocations: 17.56 kB / 1.204 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.196, allocations: 0 / 1.204 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of Templates: time 0.004568/1.2, allocations: 1.83 MB / 1.206 GB, free: 3.289 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches