Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001097/0.001097, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001339/0.001339, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 3.122/3.122, allocations: 437.8 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005436/0.0005439, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7792/0.7798, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1889/0.9688, allocations: 158.2 MB / 1.177 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00874/0.9775, allocations: 8.763 MB / 1.185 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.9779, allocations: 7.938 kB / 1.185 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005721/0.9785, allocations: 135.1 kB / 1.186 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.9787, allocations: 79.48 kB / 1.186 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.9789, allocations: 47.89 kB / 1.186 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.9793, allocations: 330.8 kB / 1.186 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.9796, allocations: 104.4 kB / 1.186 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.9799, allocations: 123.5 kB / 1.186 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.98, allocations: 75.52 kB / 1.186 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.9801, allocations: 4 kB / 1.186 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.9801, allocations: 4 kB / 1.186 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.9801, allocations: 15.88 kB / 1.186 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.9802, allocations: 65.64 kB / 1.186 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.9804, allocations: 151.5 kB / 1.186 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9804, allocations: 0 / 1.186 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9804, allocations: 0 / 1.186 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.9804, allocations: 0 / 1.186 GB, free: 7.539 MB / 0.9356 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.0004414/0.9808, allocations: 443.1 kB / 1.187 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.9809, allocations: 12.56 kB / 1.187 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.9809, allocations: 23.72 kB / 1.187 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.9812, allocations: 251.4 kB / 1.187 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.9813, allocations: 16.44 kB / 1.187 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.9813, allocations: 20 kB / 1.187 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.9817, allocations: 227.8 kB / 1.187 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9817, allocations: 7.953 kB / 1.187 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.9817, allocations: 8 kB / 1.187 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.9817, allocations: 4 kB / 1.187 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.9819, allocations: 95.72 kB / 1.188 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.983, allocations: 1.433 MB / 1.189 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.9831, allocations: 169.1 kB / 1.189 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.9831, allocations: 84.14 kB / 1.189 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.9832, allocations: 75.28 kB / 1.189 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.9832, allocations: 109.8 kB / 1.189 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.9833, allocations: 7.938 kB / 1.189 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.635e-05/0.9833, allocations: 49.45 kB / 1.189 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.9834, allocations: 126.7 kB / 1.19 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.9837, allocations: 287 kB / 1.19 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.9838, allocations: 25.7 kB / 1.19 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.9839, allocations: 147.8 kB / 1.19 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-06/0.9839, allocations: 0 / 1.19 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.9839, allocations: 4 kB / 1.19 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.9841, allocations: 330.8 kB / 1.19 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.9841, allocations: 3.984 kB / 1.19 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.9842, allocations: 27.44 kB / 1.19 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.9842, allocations: 4 kB / 1.19 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9842, allocations: 4 kB / 1.19 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001479/0.9843, allocations: 81.33 kB / 1.19 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9844, allocations: 8 kB / 1.19 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.9844, allocations: 0 / 1.19 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.9844, allocations: 0 / 1.19 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.9845, allocations: 8 kB / 1.19 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9845, allocations: 0 / 1.19 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.9846, allocations: 23.69 kB / 1.19 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.9846, allocations: 0 / 1.19 GB, free: 3.184 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.9847, allocations: 205.2 kB / 1.191 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.9848, allocations: 132.6 kB / 1.191 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.9849, allocations: 118 kB / 1.191 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.43e-05/0.985, allocations: 188.1 kB / 1.191 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.419e-05/0.985, allocations: 180.3 kB / 1.191 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-05/0.9851, allocations: 176.3 kB / 1.191 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.9855, allocations: 477.1 kB / 1.192 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.557e-05/0.9855, allocations: 105 kB / 1.192 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.9856, allocations: 113 kB / 1.192 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-05/0.9857, allocations: 180.3 kB / 1.192 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.399e-05/0.9858, allocations: 180.3 kB / 1.192 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.103e-05/0.9859, allocations: 188.2 kB / 1.193 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.533e-05/0.9859, allocations: 180.2 kB / 1.193 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.9861, allocations: 327.7 kB / 1.193 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.9862, allocations: 201.8 kB / 1.193 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9864, allocations: 184.2 kB / 1.193 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.9865, allocations: 105 kB / 1.194 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.9866, allocations: 184.2 kB / 1.194 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.9866, allocations: 105 kB / 1.194 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001945/0.9868, allocations: 206 kB / 1.194 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9868, allocations: 0 / 1.194 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000272/0.9871, allocations: 23.94 kB / 1.194 GB, free: 15.28 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001598/0.9872, allocations: 178.5 kB / 1.194 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.9873, allocations: 19.92 kB / 1.194 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9873, allocations: 0 / 1.194 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.9873, allocations: 0 / 1.194 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.9882, allocations: 0.5953 MB / 1.195 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.9888, allocations: 406.2 kB / 1.195 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.9891, allocations: 0.7209 MB / 1.196 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.608e-05/0.9892, allocations: 25.88 kB / 1.196 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.9892, allocations: 19.44 kB / 1.196 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.9893, allocations: 0 / 1.196 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of Templates: time 0.005161/0.9944, allocations: 2.224 MB / 1.198 GB, free: 11.07 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches