Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001866/0.001866, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00211/0.00211, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 62.47 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4294, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1946/0.624, allocations: 145.8 MB / 1.195 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008193/0.6323, allocations: 4.615 MB / 1.199 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006205/0.633, allocations: 11.94 kB / 1.199 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008623/0.6339, allocations: 127.2 kB / 1.199 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.6345, allocations: 87.48 kB / 1.199 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.6349, allocations: 55.95 kB / 1.199 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007718/0.6357, allocations: 358.8 kB / 1.2 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.6362, allocations: 132.1 kB / 1.2 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.6365, allocations: 107.6 kB / 1.2 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.6369, allocations: 159.3 kB / 1.2 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.637, allocations: 12 kB / 1.2 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.6371, allocations: 12 kB / 1.2 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.6372, allocations: 59.81 kB / 1.2 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.6374, allocations: 103.4 kB / 1.2 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.6377, allocations: 219.5 kB / 1.2 GB, free: 428 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6378, allocations: 0 / 1.2 GB, free: 428 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6378, allocations: 0 / 1.2 GB, free: 428 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.6378, allocations: 0 / 1.2 GB, free: 428 kB / 0.9512 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.0008207/0.6386, allocations: 499.2 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.6387, allocations: 8.031 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.6388, allocations: 28.56 kB / 1.201 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.6392, allocations: 255.9 kB / 1.201 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.6393, allocations: 16.81 kB / 1.201 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.6393, allocations: 24.38 kB / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.64, allocations: 305 kB / 1.201 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.64, allocations: 11.94 kB / 1.201 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.6401, allocations: 8 kB / 1.201 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.6401, allocations: 8 kB / 1.202 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.6405, allocations: 115.8 kB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.6425, allocations: 1.969 MB / 1.204 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.6426, allocations: 169.1 kB / 1.204 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.6426, allocations: 84.08 kB / 1.204 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.6427, allocations: 79.22 kB / 1.204 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/0.6428, allocations: 105.8 kB / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.904e-06/0.6428, allocations: 0 / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.000158/0.6429, allocations: 65.34 kB / 1.204 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.643, allocations: 126.7 kB / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.6435, allocations: 328.5 kB / 1.204 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.6435, allocations: 25.7 kB / 1.204 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.6437, allocations: 163.6 kB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-06/0.6437, allocations: 4 kB / 1.205 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.6438, allocations: 25.62 kB / 1.205 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.644, allocations: 334.8 kB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.644, allocations: 11.94 kB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.6441, allocations: 62.89 kB / 1.205 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.6442, allocations: 66.75 kB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6442, allocations: 0 / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002698/0.6445, allocations: 105.4 kB / 1.205 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.6445, allocations: 8 kB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6445, allocations: 0 / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.6446, allocations: 11.94 kB / 1.205 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.6447, allocations: 15.94 kB / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.6447, allocations: 0 / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.6448, allocations: 27.59 kB / 1.205 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.6448, allocations: 7.984 kB / 1.205 GB, free: 11.03 MB / 0.9669 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.0001838/0.645, allocations: 209.3 kB / 1.205 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.6452, allocations: 136.6 kB / 1.206 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.6453, allocations: 133.9 kB / 1.206 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000189/0.6455, allocations: 184.2 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-05/0.6456, allocations: 176.3 kB / 1.206 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-05/0.6457, allocations: 176.3 kB / 1.206 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.6462, allocations: 485.1 kB / 1.207 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-05/0.6463, allocations: 101 kB / 1.207 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.6463, allocations: 104.9 kB / 1.207 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.6465, allocations: 180.2 kB / 1.207 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.881e-05/0.6466, allocations: 188.2 kB / 1.207 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-05/0.6467, allocations: 184.4 kB / 1.207 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.746e-05/0.6468, allocations: 180.2 kB / 1.208 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.647, allocations: 339.5 kB / 1.208 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.6471, allocations: 193.8 kB / 1.208 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6472, allocations: 196.1 kB / 1.208 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.6474, allocations: 105 kB / 1.208 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.6475, allocations: 180.2 kB / 1.209 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.6475, allocations: 105 kB / 1.209 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003216/0.6479, allocations: 235 kB / 1.209 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6479, allocations: 0 / 1.209 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003861/0.6483, allocations: 28 kB / 1.209 GB, free: 7.062 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.0001656/0.6484, allocations: 174.5 kB / 1.209 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.6486, allocations: 31.86 kB / 1.209 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6486, allocations: 0 / 1.209 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.6486, allocations: 0 / 1.209 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6498, allocations: 0.5845 MB / 1.21 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/0.6507, allocations: 442 kB / 1.21 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.6513, allocations: 0.7482 MB / 1.211 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.6514, allocations: 22.28 kB / 1.211 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.6515, allocations: 19.44 kB / 1.211 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.6515, allocations: 0 / 1.211 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of Templates: time 0.008005/0.6595, allocations: 2.248 MB / 1.213 GB, free: 2.77 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches