Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001795/0.001795, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.34 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3523, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.9058/1.258, allocations: 148 MB / 1.162 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006131/1.264, allocations: 4.654 MB / 1.167 GB, free: 3 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/1.265, allocations: 10.03 kB / 1.167 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000604/1.265, allocations: 165.6 kB / 1.167 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0004656/1.266, allocations: 89.16 kB / 1.167 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/1.266, allocations: 65.97 kB / 1.167 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005403/1.267, allocations: 295.5 kB / 1.168 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/1.267, allocations: 150.1 kB / 1.168 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/1.267, allocations: 108.4 kB / 1.168 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/1.268, allocations: 154.9 kB / 1.168 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/1.268, allocations: 15.53 kB / 1.168 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/1.268, allocations: 16.16 kB / 1.168 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/1.268, allocations: 61.66 kB / 1.168 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/1.268, allocations: 106.3 kB / 1.168 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/1.268, allocations: 226.7 kB / 1.168 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.268, allocations: 1.125 kB / 1.168 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.004e-06/1.268, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.315e-05/1.268, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006116/1.269, allocations: 491.3 kB / 1.169 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.269, allocations: 17.12 kB / 1.169 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/1.269, allocations: 26.47 kB / 1.169 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/1.27, allocations: 264.5 kB / 1.169 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/1.27, allocations: 17.72 kB / 1.169 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/1.27, allocations: 26.97 kB / 1.169 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/1.27, allocations: 308.8 kB / 1.17 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.27, allocations: 1.094 kB / 1.17 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/1.27, allocations: 11.31 kB / 1.17 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.27, allocations: 6.719 kB / 1.17 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/1.27, allocations: 125.3 kB / 1.17 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/1.272, allocations: 1.973 MB / 1.172 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/1.272, allocations: 174.2 kB / 1.172 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/1.272, allocations: 83.83 kB / 1.172 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/1.272, allocations: 79.28 kB / 1.172 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/1.272, allocations: 111 kB / 1.172 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/1.272, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001168/1.272, allocations: 56.67 kB / 1.172 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/1.272, allocations: 126.7 kB / 1.172 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/1.273, allocations: 331 kB / 1.173 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/1.273, allocations: 25.7 kB / 1.173 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.273, allocations: 161 kB / 1.173 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/1.273, allocations: 9.281 kB / 1.173 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/1.273, allocations: 21.83 kB / 1.173 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.273, allocations: 332.5 kB / 1.173 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/1.273, allocations: 9.891 kB / 1.173 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/1.273, allocations: 54.06 kB / 1.173 GB, free: 14 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.754e-05/1.273, allocations: 75.53 kB / 1.173 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.273, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001952/1.274, allocations: 103.7 kB / 1.173 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.274, allocations: 6.438 kB / 1.173 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.274, allocations: 1.5 kB / 1.173 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.274, allocations: 6.469 kB / 1.173 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/1.274, allocations: 13.97 kB / 1.173 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/1.274, allocations: 2.469 kB / 1.173 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-05/1.274, allocations: 30.81 kB / 1.173 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/1.274, allocations: 4.125 kB / 1.173 GB, free: 13.82 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001418/1.274, allocations: 214.9 kB / 1.174 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/1.274, allocations: 128.5 kB / 1.174 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/1.274, allocations: 126.4 kB / 1.174 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.539e-05/1.274, allocations: 183.9 kB / 1.174 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.741e-05/1.274, allocations: 181.4 kB / 1.174 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.023e-05/1.274, allocations: 181.3 kB / 1.174 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/1.275, allocations: 478.1 kB / 1.175 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/1.275, allocations: 106 kB / 1.175 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/1.275, allocations: 108.5 kB / 1.175 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-05/1.275, allocations: 182.9 kB / 1.175 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/1.275, allocations: 185.1 kB / 1.175 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.502e-05/1.275, allocations: 183.2 kB / 1.175 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.917e-05/1.275, allocations: 181.3 kB / 1.176 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/1.275, allocations: 327.9 kB / 1.176 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.275, allocations: 208.4 kB / 1.176 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/1.275, allocations: 179.2 kB / 1.176 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/1.276, allocations: 109.9 kB / 1.176 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/1.276, allocations: 177.7 kB / 1.177 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/1.276, allocations: 103.6 kB / 1.177 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002727/1.276, allocations: 247 kB / 1.177 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.276, allocations: 0 / 1.177 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003114/1.276, allocations: 33.03 kB / 1.177 GB, free: 10.14 MB / 0.8887 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.0001409/1.276, allocations: 174 kB / 1.177 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001025/1.277, allocations: 24.77 kB / 1.177 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.277, allocations: 0 / 1.177 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/1.277, allocations: 0.5 kB / 1.177 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/1.277, allocations: 0.5216 MB / 1.178 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/1.278, allocations: 429.8 kB / 1.178 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/1.278, allocations: 0.7452 MB / 1.179 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/1.278, allocations: 17.12 kB / 1.179 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of SimCode: time 2.31e-07/1.278, allocations: 1.125 kB / 1.179 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of Templates: time 0.005721/1.284, allocations: 2.602 MB / 1.181 GB, free: 7.262 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches