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.006083/0.006083, allocations: 97.81 kB / 15.73 MB, free: 5.961 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.001239/0.00124, allocations: 195 kB / 16.67 MB, free: 5.883 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.668/2.668, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.029, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1866/1.216, allocations: 148 MB / 1.311 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00569/1.222, allocations: 4.646 MB / 1.316 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004888/1.222, allocations: 15.94 kB / 1.316 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007067/1.223, allocations: 158.9 kB / 1.316 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005637/1.223, allocations: 87.44 kB / 1.316 GB, free: 10.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/1.224, allocations: 67.86 kB / 1.316 GB, free: 10.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/1.224, allocations: 306.8 kB / 1.316 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/1.225, allocations: 151.6 kB / 1.316 GB, free: 9.809 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/1.225, allocations: 115.5 kB / 1.317 GB, free: 9.695 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/1.225, allocations: 151.5 kB / 1.317 GB, free: 9.547 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/1.225, allocations: 16 kB / 1.317 GB, free: 9.531 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/1.225, allocations: 16 kB / 1.317 GB, free: 9.516 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/1.225, allocations: 67.77 kB / 1.317 GB, free: 9.449 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/1.226, allocations: 99.48 kB / 1.317 GB, free: 9.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/1.226, allocations: 235.5 kB / 1.317 GB, free: 9.125 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.226, allocations: 0 / 1.317 GB, free: 9.125 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/1.226, allocations: 4 kB / 1.317 GB, free: 9.121 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.159e-05/1.226, allocations: 0 / 1.317 GB, free: 9.121 MB / 1.045 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.0005853/1.227, allocations: 498.8 kB / 1.318 GB, free: 8.586 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.227, allocations: 16.88 kB / 1.318 GB, free: 8.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.746e-05/1.227, allocations: 24.8 kB / 1.318 GB, free: 8.547 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/1.227, allocations: 282 kB / 1.318 GB, free: 8.234 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/1.227, allocations: 12.81 kB / 1.318 GB, free: 8.223 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/1.227, allocations: 24.38 kB / 1.318 GB, free: 8.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/1.228, allocations: 303.5 kB / 1.318 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.228, allocations: 11.94 kB / 1.318 GB, free: 7.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/1.228, allocations: 8 kB / 1.318 GB, free: 7.832 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/1.228, allocations: 8 kB / 1.318 GB, free: 7.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/1.228, allocations: 123.7 kB / 1.318 GB, free: 7.703 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/1.229, allocations: 1.969 MB / 1.32 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/1.229, allocations: 181 kB / 1.32 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/1.23, allocations: 84.14 kB / 1.321 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/1.23, allocations: 75.28 kB / 1.321 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/1.23, allocations: 109.9 kB / 1.321 GB, free: 5.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.23, allocations: 0 / 1.321 GB, free: 5.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001125/1.23, allocations: 57.44 kB / 1.321 GB, free: 5.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/1.23, allocations: 126.7 kB / 1.321 GB, free: 4.961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/1.23, allocations: 340.5 kB / 1.321 GB, free: 4.625 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/1.23, allocations: 25.7 kB / 1.321 GB, free: 4.594 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.23, allocations: 159.9 kB / 1.321 GB, free: 4.434 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/1.23, allocations: 3.984 kB / 1.321 GB, free: 4.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/1.231, allocations: 21.72 kB / 1.321 GB, free: 4.402 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.231, allocations: 334.8 kB / 1.322 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/1.231, allocations: 4 kB / 1.322 GB, free: 4.062 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/1.231, allocations: 58.86 kB / 1.322 GB, free: 3.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/1.231, allocations: 74.75 kB / 1.322 GB, free: 3.883 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.231, allocations: 0 / 1.322 GB, free: 3.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001899/1.231, allocations: 101.4 kB / 1.322 GB, free: 3.777 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.231, allocations: 7.984 kB / 1.322 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.231, allocations: 8.25 kB / 1.322 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.231, allocations: 3.938 kB / 1.322 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/1.231, allocations: 12 kB / 1.322 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.231, allocations: 4 kB / 1.322 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/1.231, allocations: 31.73 kB / 1.322 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/1.231, allocations: 4 kB / 1.322 GB, free: 3.707 MB / 1.045 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.0002209/1.232, allocations: 219.2 kB / 1.322 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/1.232, allocations: 124.8 kB / 1.322 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/1.232, allocations: 133.9 kB / 1.323 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.296e-05/1.232, allocations: 180.2 kB / 1.323 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.524e-05/1.232, allocations: 176.3 kB / 1.323 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/1.232, allocations: 184.2 kB / 1.323 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/1.232, allocations: 481.1 kB / 1.323 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001347/1.233, allocations: 108.9 kB / 1.324 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.009e-05/1.233, allocations: 105 kB / 1.324 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.44e-05/1.233, allocations: 180.2 kB / 1.324 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.233, allocations: 188.1 kB / 1.324 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001653/1.233, allocations: 184.2 kB / 1.324 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-05/1.233, allocations: 184.4 kB / 1.324 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/1.233, allocations: 327.7 kB / 1.325 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.233, allocations: 209.9 kB / 1.325 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.233, allocations: 180.2 kB / 1.325 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/1.234, allocations: 112.9 kB / 1.325 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/1.234, allocations: 180.6 kB / 1.325 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/1.234, allocations: 101 kB / 1.325 GB, free: 0 / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002531/1.234, allocations: 243.1 kB / 1.326 GB, free: 15.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.4e-07/1.234, allocations: 4 kB / 1.326 GB, free: 15.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003321/1.234, allocations: 27.95 kB / 1.326 GB, free: 15.73 MB / 1.061 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.0001468/1.234, allocations: 170.5 kB / 1.326 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.922e-05/1.235, allocations: 28.11 kB / 1.326 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.235, allocations: 4 kB / 1.326 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/1.235, allocations: 32 / 1.326 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/1.235, allocations: 0.5218 MB / 1.326 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/1.236, allocations: 399.9 kB / 1.327 GB, free: 14.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/1.236, allocations: 0.744 MB / 1.328 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001118/1.236, allocations: 26.3 kB / 1.328 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/1.236, allocations: 15.44 kB / 1.328 GB, free: 13.77 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/1.236, allocations: 4 kB / 1.328 GB, free: 13.76 MB / 1.061 GB Notification: Performance of Templates: time 0.00584/1.242, allocations: 2.354 MB / 1.33 GB, free: 11.44 MB / 1.061 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/jenkins/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