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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001436/0.001436, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 62.86 kB / 0.9121 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3926, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2027/0.5954, allocations: 174 MB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.6059, allocations: 9.503 MB / 1.247 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.6064, allocations: 11.94 kB / 1.247 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007788/0.6072, allocations: 182.7 kB / 1.248 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.6075, allocations: 103.2 kB / 1.248 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.6077, allocations: 71.92 kB / 1.248 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.6082, allocations: 314.7 kB / 1.248 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.6085, allocations: 148.5 kB / 1.248 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.6089, allocations: 155.5 kB / 1.248 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.609, allocations: 107.4 kB / 1.248 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.609, allocations: 19.94 kB / 1.248 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.005e-05/0.6091, allocations: 16 kB / 1.249 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.6091, allocations: 39.86 kB / 1.249 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.6092, allocations: 91.55 kB / 1.249 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.6095, allocations: 211.2 kB / 1.249 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.6095, allocations: 4 kB / 1.249 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.845e-06/0.6095, allocations: 0 / 1.249 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6095, allocations: 0 / 1.249 GB, free: 0.7773 MB / 0.9981 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.0005201/0.6101, allocations: 475 kB / 1.249 GB, free: 272 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6101, allocations: 8.031 kB / 1.249 GB, free: 264 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.6102, allocations: 27.66 kB / 1.249 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7865/1.397, allocations: 241.2 kB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/1.397, allocations: 13.41 kB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/1.397, allocations: 19 kB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/1.397, allocations: 240.5 kB / 1.25 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.397, allocations: 0.7188 kB / 1.25 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/1.397, allocations: 10.59 kB / 1.25 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.397, allocations: 5.844 kB / 1.25 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/1.398, allocations: 90.27 kB / 1.25 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/1.399, allocations: 1.436 MB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.512e-05/1.399, allocations: 174.5 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/1.399, allocations: 80.14 kB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/1.399, allocations: 76.06 kB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/1.399, allocations: 107.2 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.933e-06/1.399, allocations: 0 / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.249e-05/1.399, allocations: 48.77 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/1.399, allocations: 131.2 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/1.399, allocations: 286.7 kB / 1.252 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/1.399, allocations: 29.64 kB / 1.252 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.399, allocations: 144.6 kB / 1.252 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/1.399, allocations: 1.766 kB / 1.252 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/1.399, allocations: 21.59 kB / 1.252 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/1.4, allocations: 336 kB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/1.4, allocations: 3.328 kB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/1.4, allocations: 29.52 kB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/1.4, allocations: 39.09 kB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.4, allocations: 112 / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001575/1.4, allocations: 72.25 kB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.4, allocations: 9.953 kB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.4, allocations: 2.375 kB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.4, allocations: 1.5 kB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/1.4, allocations: 8.562 kB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.4, allocations: 6.422 kB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/1.4, allocations: 21.59 kB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/1.4, allocations: 1.812 kB / 1.253 GB, free: 187 MB / 0.9981 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.0001045/1.4, allocations: 205.2 kB / 1.253 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/1.4, allocations: 126.4 kB / 1.253 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/1.4, allocations: 125.7 kB / 1.253 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/1.4, allocations: 178.8 kB / 1.253 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.375e-05/1.4, allocations: 178.2 kB / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/1.4, allocations: 182.1 kB / 1.254 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/1.401, allocations: 474.2 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/1.401, allocations: 112.7 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/1.401, allocations: 106.2 kB / 1.254 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-05/1.401, allocations: 178.4 kB / 1.255 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/1.401, allocations: 181.5 kB / 1.255 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.389e-05/1.401, allocations: 186.2 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-05/1.401, allocations: 181.6 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/1.401, allocations: 325.2 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/1.401, allocations: 202 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/1.401, allocations: 183.1 kB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/1.401, allocations: 107 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/1.401, allocations: 179.1 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/1.401, allocations: 106.4 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002337/1.402, allocations: 208.5 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.402, allocations: 0 / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003438/1.402, allocations: 26.91 kB / 1.256 GB, free: 183.5 MB / 0.9981 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.0001416/1.402, allocations: 176.7 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.865e-05/1.402, allocations: 12.28 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.402, allocations: 0 / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/1.402, allocations: 4.844 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/1.403, allocations: 0.5378 MB / 1.257 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/1.404, allocations: 370.3 kB / 1.258 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/1.404, allocations: 0.7278 MB / 1.258 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001152/1.404, allocations: 22.53 kB / 1.258 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/1.404, allocations: 17.03 kB / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.404, allocations: 0 / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.006692/1.411, allocations: 2.406 MB / 1.261 GB, free: 181.7 MB / 0.9981 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/jenkins/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