Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 99.34 kB / 16.02 MB, free: 76 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.002124/0.002124, allocations: 186.4 kB / 16.92 MB, free: 6.75 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.585/1.585, allocations: 223.3 MB / 241 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.995/2.995, allocations: 462.6 MB / 0.7371 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 11.5 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3687, allocations: 159.6 MB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1646/0.5334, allocations: 143.9 MB / 1.2 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005566/0.539, allocations: 4.545 MB / 1.204 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.5394, allocations: 12 kB / 1.204 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006306/0.5401, allocations: 135.3 kB / 1.204 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.5405, allocations: 71.5 kB / 1.204 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.5407, allocations: 55.89 kB / 1.204 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.5412, allocations: 358.8 kB / 1.205 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.5415, allocations: 91.55 kB / 1.205 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.5417, allocations: 95.52 kB / 1.205 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.542, allocations: 123.5 kB / 1.205 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.542, allocations: 4 kB / 1.205 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.542, allocations: 8 kB / 1.205 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.5421, allocations: 15.92 kB / 1.205 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.5422, allocations: 89.27 kB / 1.205 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.5423, allocations: 107.9 kB / 1.205 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5423, allocations: 0 / 1.205 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.746e-06/0.5423, allocations: 0 / 1.205 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5423, allocations: 0 / 1.205 GB, free: 14.95 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004267/0.5428, allocations: 420.5 kB / 1.206 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5428, allocations: 15.97 kB / 1.206 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.5429, allocations: 20.75 kB / 1.206 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.5432, allocations: 241.9 kB / 1.206 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.5432, allocations: 8.375 kB / 1.206 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.5432, allocations: 19.94 kB / 1.206 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.5435, allocations: 212.4 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5435, allocations: 0 / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.5436, allocations: 12 kB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.5436, allocations: 11.98 kB / 1.206 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.5437, allocations: 71.78 kB / 1.206 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.5448, allocations: 1.594 MB / 1.208 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.5449, allocations: 173.1 kB / 1.208 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.545, allocations: 80.14 kB / 1.208 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.545, allocations: 75.28 kB / 1.208 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.545, allocations: 105.8 kB / 1.208 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5451, allocations: 3.938 kB / 1.208 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.256e-05/0.5452, allocations: 45.45 kB / 1.208 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.5452, allocations: 142.7 kB / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.5455, allocations: 238.6 kB / 1.209 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.5455, allocations: 25.7 kB / 1.209 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.5456, allocations: 151.6 kB / 1.209 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.5456, allocations: 0 / 1.209 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.5457, allocations: 17.72 kB / 1.209 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5458, allocations: 326.8 kB / 1.209 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.5458, allocations: 3.984 kB / 1.209 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.637e-05/0.5459, allocations: 57.98 kB / 1.209 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.5459, allocations: 65.88 kB / 1.209 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.546, allocations: 0 / 1.209 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001852/0.5461, allocations: 89.31 kB / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5462, allocations: 8 kB / 1.209 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5462, allocations: 4.219 kB / 1.209 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5462, allocations: 4 kB / 1.209 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.5463, allocations: 11.94 kB / 1.209 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5463, allocations: 4 kB / 1.209 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.5464, allocations: 23.73 kB / 1.209 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.5464, allocations: 4 kB / 1.209 GB, free: 10.37 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001225/0.5465, allocations: 201.1 kB / 1.21 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.5466, allocations: 120.7 kB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.5467, allocations: 121.8 kB / 1.21 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.276e-05/0.5468, allocations: 184.2 kB / 1.21 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-05/0.5468, allocations: 176.3 kB / 1.21 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/0.5469, allocations: 176.3 kB / 1.21 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.5472, allocations: 465 kB / 1.211 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.5472, allocations: 105 kB / 1.211 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.5473, allocations: 108.9 kB / 1.211 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-05/0.5473, allocations: 180.3 kB / 1.211 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.5474, allocations: 176.3 kB / 1.211 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.188e-05/0.5475, allocations: 184.2 kB / 1.212 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-05/0.5475, allocations: 180.3 kB / 1.212 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.5477, allocations: 327.5 kB / 1.212 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.303e-05/0.5478, allocations: 193.9 kB / 1.212 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.5479, allocations: 188.1 kB / 1.212 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.548, allocations: 101 kB / 1.213 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.548, allocations: 188.2 kB / 1.213 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.5481, allocations: 101 kB / 1.213 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000166/0.5483, allocations: 182 kB / 1.213 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5483, allocations: 0 / 1.213 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002535/0.5485, allocations: 23.94 kB / 1.213 GB, free: 6.543 MB / 0.9669 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.000144/0.5487, allocations: 174.5 kB / 1.213 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.5488, allocations: 24.06 kB / 1.213 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5488, allocations: 0 / 1.213 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.5488, allocations: 3.938 kB / 1.213 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.5496, allocations: 0.5863 MB / 1.214 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.5501, allocations: 377.1 kB / 1.214 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.5503, allocations: 0.7166 MB / 1.215 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.5504, allocations: 15.44 kB / 1.215 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.5504, allocations: 0 / 1.215 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of Templates: time 0.003689/0.5541, allocations: 1.825 MB / 1.217 GB, free: 2.773 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches