Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001213/0.001213, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.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.591/2.591, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6953/0.6967, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2099/0.9067, allocations: 171.9 MB / 1.184 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.9168, allocations: 9.504 MB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.9173, allocations: 7.938 kB / 1.194 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.918, allocations: 151 kB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.9183, allocations: 87.48 kB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.9186, allocations: 55.95 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.919, allocations: 390.5 kB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.9194, allocations: 201.7 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.9198, allocations: 151.4 kB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.9199, allocations: 123.4 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.92, allocations: 16 kB / 1.195 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.733e-05/0.92, allocations: 16 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.9201, allocations: 75.75 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.9203, allocations: 119.3 kB / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.9205, allocations: 267.1 kB / 1.195 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.73e-05/0.9205, allocations: 7.984 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.62e-07/0.9206, allocations: 0 / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.9206, allocations: 0 / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005896/0.9212, allocations: 0.5069 MB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9212, allocations: 12.03 kB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.9213, allocations: 27.66 kB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.9216, allocations: 274.2 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.9216, allocations: 20.56 kB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.9217, allocations: 24 kB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.9222, allocations: 324 kB / 1.196 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.9222, allocations: 7.938 kB / 1.196 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.9222, allocations: 12 kB / 1.196 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.9222, allocations: 8 kB / 1.197 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.9224, allocations: 151.6 kB / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.9239, allocations: 1.812 MB / 1.198 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.924, allocations: 177.1 kB / 1.199 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.924, allocations: 88.08 kB / 1.199 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.9241, allocations: 79.22 kB / 1.199 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.9241, allocations: 109.8 kB / 1.199 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.9241, allocations: 0 / 1.199 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001128/0.9243, allocations: 49.42 kB / 1.199 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.9243, allocations: 126.7 kB / 1.199 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.9248, allocations: 377.7 kB / 1.199 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.9248, allocations: 25.7 kB / 1.199 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.9249, allocations: 163.8 kB / 1.2 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-06/0.925, allocations: 7.984 kB / 1.2 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.925, allocations: 17.72 kB / 1.2 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9251, allocations: 334.8 kB / 1.2 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.9252, allocations: 7.938 kB / 1.2 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.9252, allocations: 36.42 kB / 1.2 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.9253, allocations: 52.22 kB / 1.2 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9253, allocations: 0 / 1.2 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001583/0.9255, allocations: 89.22 kB / 1.2 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.9255, allocations: 8 kB / 1.2 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9255, allocations: 0 / 1.2 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9255, allocations: 4 kB / 1.2 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.9256, allocations: 8 kB / 1.2 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.9256, allocations: 4 kB / 1.2 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.9257, allocations: 27.59 kB / 1.2 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.9257, allocations: 0 / 1.2 GB, free: 5.863 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001524/0.9258, allocations: 217.8 kB / 1.2 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.9259, allocations: 136.6 kB / 1.2 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.044e-05/0.926, allocations: 127.1 kB / 1.201 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.826e-05/0.9261, allocations: 192.2 kB / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.052e-05/0.9262, allocations: 176.3 kB / 1.201 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.021e-05/0.9263, allocations: 176.3 kB / 1.201 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.9266, allocations: 497 kB / 1.202 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.157e-05/0.9267, allocations: 108.9 kB / 1.202 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.9267, allocations: 109 kB / 1.202 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/0.9268, allocations: 180.3 kB / 1.202 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/0.9269, allocations: 180.3 kB / 1.202 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.327e-05/0.927, allocations: 184.2 kB / 1.202 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.067e-05/0.9271, allocations: 180.2 kB / 1.202 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.9272, allocations: 331.4 kB / 1.203 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.9273, allocations: 209.7 kB / 1.203 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.9275, allocations: 188.2 kB / 1.203 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.9276, allocations: 101 kB / 1.203 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.9277, allocations: 188.1 kB / 1.203 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.9277, allocations: 101 kB / 1.204 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000284/0.928, allocations: 271.2 kB / 1.204 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.928, allocations: 0 / 1.204 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002611/0.9283, allocations: 31.94 kB / 1.204 GB, free: 1.836 MB / 0.9512 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.0001597/0.9285, allocations: 178.5 kB / 1.204 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.9285, allocations: 15.94 kB / 1.204 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9285, allocations: 0 / 1.204 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.9286, allocations: 3.984 kB / 1.204 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.9296, allocations: 0.6216 MB / 1.205 GB, free: 1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.9303, allocations: 491 kB / 1.205 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.9306, allocations: 0.756 MB / 1.206 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.9308, allocations: 34.97 kB / 1.206 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.9308, allocations: 19.44 kB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.9308, allocations: 0 / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of Templates: time 0.006221/0.937, allocations: 3.018 MB / 1.209 GB, free: 12.7 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches