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.001788/0.001788, allocations: 108.3 kB / 16.41 MB, free: 6.504 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.001845/0.001845, allocations: 188 kB / 17.34 MB, free: 5.738 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.15 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.785/2.785, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.81 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8928/0.8948, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1845/1.079, allocations: 148 MB / 1.312 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005555/1.085, allocations: 4.646 MB / 1.316 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/1.085, allocations: 11.94 kB / 1.316 GB, free: 10.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007337/1.086, allocations: 166.8 kB / 1.317 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005589/1.087, allocations: 87.45 kB / 1.317 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/1.087, allocations: 63.91 kB / 1.317 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005522/1.088, allocations: 302.8 kB / 1.317 GB, free: 9.926 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/1.088, allocations: 155.6 kB / 1.317 GB, free: 9.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/1.088, allocations: 111.6 kB / 1.317 GB, free: 9.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/1.089, allocations: 151.4 kB / 1.317 GB, free: 9.512 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/1.089, allocations: 16 kB / 1.317 GB, free: 9.496 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.825e-05/1.089, allocations: 16 kB / 1.318 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/1.089, allocations: 63.83 kB / 1.318 GB, free: 9.418 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/1.089, allocations: 107.4 kB / 1.318 GB, free: 9.312 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004049/1.089, allocations: 231.5 kB / 1.318 GB, free: 9.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.089, allocations: 4 kB / 1.318 GB, free: 9.086 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.036e-06/1.089, allocations: 4 kB / 1.318 GB, free: 9.082 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.403e-05/1.089, allocations: 0 / 1.318 GB, free: 9.082 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.0008314/1.09, allocations: 0.491 MB / 1.318 GB, free: 8.543 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/1.09, allocations: 12.88 kB / 1.318 GB, free: 8.531 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/1.09, allocations: 28.8 kB / 1.318 GB, free: 8.504 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/1.091, allocations: 275.8 kB / 1.319 GB, free: 8.195 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.091, allocations: 16.81 kB / 1.319 GB, free: 8.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/1.091, allocations: 20.38 kB / 1.319 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/1.092, allocations: 305 kB / 1.319 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/1.092, allocations: 4 kB / 1.319 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/1.092, allocations: 8 kB / 1.319 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/1.092, allocations: 11.92 kB / 1.319 GB, free: 7.785 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/1.092, allocations: 119.7 kB / 1.319 GB, free: 7.668 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/1.094, allocations: 1.977 MB / 1.321 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/1.094, allocations: 169.1 kB / 1.321 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/1.094, allocations: 80.14 kB / 1.321 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/1.094, allocations: 83.25 kB / 1.321 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/1.094, allocations: 109.8 kB / 1.321 GB, free: 5.125 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 3.086e-06/1.094, allocations: 0 / 1.321 GB, free: 5.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001336/1.094, allocations: 61.42 kB / 1.322 GB, free: 5.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.095, allocations: 130.7 kB / 1.322 GB, free: 4.918 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/1.095, allocations: 328.5 kB / 1.322 GB, free: 4.594 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/1.095, allocations: 25.7 kB / 1.322 GB, free: 4.562 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/1.095, allocations: 167.8 kB / 1.322 GB, free: 4.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/1.095, allocations: 0 / 1.322 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/1.095, allocations: 29.72 kB / 1.322 GB, free: 4.359 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.095, allocations: 330.8 kB / 1.323 GB, free: 4.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/1.095, allocations: 4 kB / 1.323 GB, free: 4.023 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/1.095, allocations: 58.86 kB / 1.323 GB, free: 3.941 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/1.096, allocations: 70.75 kB / 1.323 GB, free: 3.848 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.096, allocations: 0 / 1.323 GB, free: 3.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002045/1.096, allocations: 113.3 kB / 1.323 GB, free: 3.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.096, allocations: 4 kB / 1.323 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.096, allocations: 4 kB / 1.323 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.096, allocations: 3.938 kB / 1.323 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/1.096, allocations: 12 kB / 1.323 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.096, allocations: 8.094 kB / 1.323 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/1.096, allocations: 27.98 kB / 1.323 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/1.096, allocations: 8 kB / 1.323 GB, free: 3.664 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.0001722/1.096, allocations: 215.2 kB / 1.323 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/1.096, allocations: 128.8 kB / 1.323 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/1.096, allocations: 129.9 kB / 1.323 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.964e-05/1.097, allocations: 184.2 kB / 1.323 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-05/1.097, allocations: 188.2 kB / 1.324 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.124e-05/1.097, allocations: 176.3 kB / 1.324 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/1.097, allocations: 477.1 kB / 1.324 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/1.097, allocations: 105 kB / 1.324 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/1.097, allocations: 101 kB / 1.324 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-05/1.097, allocations: 180.2 kB / 1.325 GB, free: 1.695 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.344e-05/1.097, allocations: 192.2 kB / 1.325 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-05/1.098, allocations: 196.1 kB / 1.325 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.084e-05/1.098, allocations: 184.2 kB / 1.325 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/1.098, allocations: 323.6 kB / 1.325 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/1.098, allocations: 205.9 kB / 1.326 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/1.098, allocations: 192.1 kB / 1.326 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.098, allocations: 105 kB / 1.326 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/1.098, allocations: 176.6 kB / 1.326 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/1.098, allocations: 104.9 kB / 1.326 GB, free: 15.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002563/1.099, allocations: 239 kB / 1.326 GB, free: 15.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/1.099, allocations: 0 / 1.326 GB, free: 15.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002926/1.099, allocations: 35.95 kB / 1.326 GB, free: 15.68 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.0001527/1.099, allocations: 172.6 kB / 1.327 GB, free: 15.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.999e-05/1.099, allocations: 27.92 kB / 1.327 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.099, allocations: 0 / 1.327 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/1.099, allocations: 32 / 1.327 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/1.1, allocations: 0.524 MB / 1.327 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/1.101, allocations: 392 kB / 1.328 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/1.101, allocations: 0.748 MB / 1.328 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.578e-05/1.101, allocations: 26.28 kB / 1.328 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/1.101, allocations: 15.44 kB / 1.328 GB, free: 13.72 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.101, allocations: 0 / 1.328 GB, free: 13.72 MB / 1.061 GB Notification: Performance of Templates: time 0.005837/1.107, allocations: 2.372 MB / 1.331 GB, free: 11.39 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 -s cvode -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