Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007718/0.007718, allocations: 97.62 kB / 15.73 MB, free: 6.035 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.001351/0.00135, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.72 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3625, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1798/0.5424, allocations: 148 MB / 1.232 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005358/0.5478, allocations: 4.661 MB / 1.237 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.5482, allocations: 11.94 kB / 1.237 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.5488, allocations: 162.9 kB / 1.237 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.5492, allocations: 83.45 kB / 1.237 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.5494, allocations: 71.84 kB / 1.237 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.5498, allocations: 306.8 kB / 1.238 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.5501, allocations: 143.7 kB / 1.238 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.5503, allocations: 111.6 kB / 1.238 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.5506, allocations: 155.4 kB / 1.238 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.5506, allocations: 16 kB / 1.238 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.06e-05/0.5506, allocations: 16 kB / 1.238 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.5507, allocations: 67.81 kB / 1.238 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.5508, allocations: 103.4 kB / 1.238 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.5511, allocations: 242.8 kB / 1.238 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.5512, allocations: 4 kB / 1.238 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5512, allocations: 0 / 1.238 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5512, allocations: 0 / 1.238 GB, free: 6.75 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006179/0.5518, allocations: 494.9 kB / 1.239 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5519, allocations: 8.031 kB / 1.239 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.5519, allocations: 24.8 kB / 1.239 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.5524, allocations: 277.3 kB / 1.239 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5524, allocations: 20.8 kB / 1.239 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.5524, allocations: 20.38 kB / 1.239 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.5529, allocations: 305 kB / 1.24 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.553, allocations: 0 / 1.24 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.553, allocations: 12 kB / 1.24 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.553, allocations: 4 kB / 1.24 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.5532, allocations: 131.7 kB / 1.24 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.5546, allocations: 1.966 MB / 1.242 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.142e-05/0.5547, allocations: 173.1 kB / 1.242 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.5547, allocations: 80.14 kB / 1.242 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.5547, allocations: 79.27 kB / 1.242 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.5548, allocations: 109.8 kB / 1.242 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.5548, allocations: 0 / 1.242 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.457e-05/0.5549, allocations: 61.39 kB / 1.242 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.555, allocations: 126.7 kB / 1.242 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.5553, allocations: 336.5 kB / 1.243 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.5554, allocations: 25.7 kB / 1.243 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.5555, allocations: 159.9 kB / 1.243 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-06/0.5555, allocations: 8 kB / 1.243 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.5556, allocations: 21.67 kB / 1.243 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.5558, allocations: 338.8 kB / 1.243 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.5558, allocations: 4 kB / 1.243 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.5559, allocations: 58.84 kB / 1.243 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.257e-05/0.556, allocations: 74.75 kB / 1.243 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.556, allocations: 0 / 1.243 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001702/0.5561, allocations: 105.3 kB / 1.243 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5562, allocations: 10.03 kB / 1.243 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5562, allocations: 3.938 kB / 1.243 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5562, allocations: 11.92 kB / 1.243 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.5563, allocations: 16 kB / 1.243 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5563, allocations: 8.234 kB / 1.243 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.5564, allocations: 27.78 kB / 1.243 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5564, allocations: 4 kB / 1.243 GB, free: 1.336 MB / 0.9981 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.000137/0.5565, allocations: 213 kB / 1.244 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.5566, allocations: 128.8 kB / 1.244 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/0.5567, allocations: 129.9 kB / 1.244 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.518e-05/0.5568, allocations: 180.3 kB / 1.244 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-05/0.5568, allocations: 184.3 kB / 1.244 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-05/0.5569, allocations: 180.2 kB / 1.244 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.5572, allocations: 477.1 kB / 1.245 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.5573, allocations: 104.9 kB / 1.245 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.5573, allocations: 105 kB / 1.245 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-05/0.5574, allocations: 184.3 kB / 1.245 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.5575, allocations: 188.1 kB / 1.245 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-05/0.5575, allocations: 176.3 kB / 1.246 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-05/0.5576, allocations: 184.2 kB / 1.246 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.5578, allocations: 327.7 kB / 1.246 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.5579, allocations: 206.1 kB / 1.246 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.558, allocations: 184.2 kB / 1.246 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5581, allocations: 112.9 kB / 1.247 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.5582, allocations: 180.3 kB / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.5583, allocations: 105 kB / 1.247 GB, free: 13.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002304/0.5585, allocations: 243 kB / 1.247 GB, free: 13.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5585, allocations: 0 / 1.247 GB, free: 13.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002622/0.5588, allocations: 24 kB / 1.247 GB, free: 13.38 MB / 1.014 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.0001488/0.5589, allocations: 174.5 kB / 1.247 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.695e-05/0.559, allocations: 23.94 kB / 1.247 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.559, allocations: 0.5 kB / 1.247 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.559, allocations: 0 / 1.247 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.5598, allocations: 0.5295 MB / 1.248 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.5604, allocations: 403.8 kB / 1.248 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.5608, allocations: 0.744 MB / 1.249 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.367e-05/0.5609, allocations: 30.27 kB / 1.249 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.5609, allocations: 23.38 kB / 1.249 GB, free: 11.39 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.5609, allocations: 4 kB / 1.249 GB, free: 11.39 MB / 1.014 GB Notification: Performance of Templates: time 0.005237/0.5661, allocations: 2.349 MB / 1.251 GB, free: 9.078 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches