Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008011/0.008011, allocations: 96.58 kB / 15.73 MB, free: 6.008 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.001933/0.001933, allocations: 196.3 kB / 16.67 MB, free: 5.941 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 469.8 MB / 0.7425 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3639, allocations: 159.1 MB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 1.006/1.37, allocations: 148.4 MB / 1.366 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006275/1.376, allocations: 4.665 MB / 1.37 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/1.377, allocations: 10.84 kB / 1.37 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008508/1.378, allocations: 165.9 kB / 1.37 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006198/1.378, allocations: 89.41 kB / 1.37 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/1.378, allocations: 65.94 kB / 1.37 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006653/1.379, allocations: 300.2 kB / 1.371 GB, free: 12.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/1.379, allocations: 98.62 kB / 1.371 GB, free: 12.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/1.38, allocations: 118.5 kB / 1.371 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/1.38, allocations: 156.9 kB / 1.371 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/1.38, allocations: 17.22 kB / 1.371 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/1.38, allocations: 15 kB / 1.371 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/1.38, allocations: 62.28 kB / 1.371 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/1.38, allocations: 106 kB / 1.371 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004476/1.381, allocations: 236.7 kB / 1.372 GB, free: 12.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.381, allocations: 1.406 kB / 1.372 GB, free: 12.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/1.381, allocations: 0 / 1.372 GB, free: 12.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.31e-05/1.381, allocations: 0 / 1.372 GB, free: 12.57 MB / 1.076 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.0007369/1.382, allocations: 0.4915 MB / 1.372 GB, free: 12.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.382, allocations: 10.06 kB / 1.372 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/1.382, allocations: 29.5 kB / 1.372 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/1.382, allocations: 266.7 kB / 1.372 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/1.382, allocations: 21.31 kB / 1.372 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/1.382, allocations: 22.84 kB / 1.372 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/1.383, allocations: 303.8 kB / 1.373 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/1.383, allocations: 1.188 kB / 1.373 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/1.383, allocations: 11.16 kB / 1.373 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/1.383, allocations: 7.188 kB / 1.373 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/1.383, allocations: 125.6 kB / 1.373 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/1.385, allocations: 1.978 MB / 1.375 GB, free: 9.691 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/1.385, allocations: 166.6 kB / 1.375 GB, free: 9.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/1.385, allocations: 84.14 kB / 1.375 GB, free: 9.434 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/1.385, allocations: 76.78 kB / 1.375 GB, free: 9.359 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.854e-05/1.385, allocations: 109.8 kB / 1.375 GB, free: 9.242 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 3.206e-06/1.385, allocations: 7.938 kB / 1.375 GB, free: 9.234 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001335/1.385, allocations: 59.19 kB / 1.375 GB, free: 9.184 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/1.385, allocations: 127.7 kB / 1.375 GB, free: 9.047 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/1.386, allocations: 333.8 kB / 1.376 GB, free: 8.871 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/1.386, allocations: 25.7 kB / 1.376 GB, free: 8.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.386, allocations: 161.9 kB / 1.376 GB, free: 8.699 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/1.386, allocations: 0.7812 kB / 1.376 GB, free: 8.699 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/1.386, allocations: 20.34 kB / 1.376 GB, free: 8.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.386, allocations: 338.2 kB / 1.376 GB, free: 8.355 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/1.386, allocations: 7.875 kB / 1.376 GB, free: 8.352 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/1.386, allocations: 53.88 kB / 1.376 GB, free: 8.285 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/1.386, allocations: 74 kB / 1.376 GB, free: 8.203 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.386, allocations: 0 / 1.376 GB, free: 8.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002338/1.387, allocations: 111.3 kB / 1.376 GB, free: 8.133 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.387, allocations: 8.875 kB / 1.376 GB, free: 8.133 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.387, allocations: 1.25 kB / 1.376 GB, free: 8.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.387, allocations: 7.062 kB / 1.376 GB, free: 8.129 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/1.387, allocations: 13.53 kB / 1.376 GB, free: 8.129 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.387, allocations: 2.906 kB / 1.376 GB, free: 8.129 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/1.387, allocations: 22.62 kB / 1.376 GB, free: 8.113 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/1.387, allocations: 7.844 kB / 1.376 GB, free: 8.109 MB / 1.076 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.000154/1.387, allocations: 219.4 kB / 1.377 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/1.387, allocations: 128.3 kB / 1.377 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.249e-05/1.387, allocations: 127.1 kB / 1.377 GB, free: 7.656 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-05/1.387, allocations: 185.4 kB / 1.377 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.099e-05/1.387, allocations: 177.7 kB / 1.377 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-05/1.387, allocations: 188 kB / 1.377 GB, free: 7.102 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/1.388, allocations: 473.2 kB / 1.378 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.126e-05/1.388, allocations: 110 kB / 1.378 GB, free: 6.523 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/1.388, allocations: 102.7 kB / 1.378 GB, free: 6.418 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.165e-05/1.388, allocations: 184.2 kB / 1.378 GB, free: 6.234 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/1.388, allocations: 176.3 kB / 1.378 GB, free: 6.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.521e-05/1.388, allocations: 186.2 kB / 1.379 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.647e-05/1.388, allocations: 183.6 kB / 1.379 GB, free: 5.684 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/1.388, allocations: 333.4 kB / 1.379 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/1.389, allocations: 210.2 kB / 1.379 GB, free: 5.129 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.389, allocations: 181.8 kB / 1.379 GB, free: 4.945 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/1.389, allocations: 114.2 kB / 1.38 GB, free: 4.832 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/1.389, allocations: 176.3 kB / 1.38 GB, free: 4.652 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/1.389, allocations: 109.9 kB / 1.38 GB, free: 4.539 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003083/1.389, allocations: 242 kB / 1.38 GB, free: 4.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.389, allocations: 0 / 1.38 GB, free: 4.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003353/1.39, allocations: 28.44 kB / 1.38 GB, free: 4.406 MB / 1.076 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.000156/1.39, allocations: 176.2 kB / 1.38 GB, free: 4.242 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001092/1.39, allocations: 22.56 kB / 1.38 GB, free: 4.234 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.39, allocations: 1.188 kB / 1.38 GB, free: 4.234 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/1.39, allocations: 0 / 1.38 GB, free: 4.234 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/1.391, allocations: 0.5184 MB / 1.381 GB, free: 3.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000786/1.391, allocations: 411.5 kB / 1.381 GB, free: 3.469 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/1.392, allocations: 0.7445 MB / 1.382 GB, free: 2.766 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001273/1.392, allocations: 33.55 kB / 1.382 GB, free: 2.754 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/1.392, allocations: 16.84 kB / 1.382 GB, free: 2.75 MB / 1.076 GB Notification: Performance of SimCode: time 8.22e-07/1.392, allocations: 0 / 1.382 GB, free: 2.75 MB / 1.076 GB Notification: Performance of Templates: time 0.008054/1.4, allocations: 2.37 MB / 1.384 GB, free: 1.898 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches