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.001202/0.001202, allocations: 105 kB / 16.41 MB, free: 6.465 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.001096/0.001096, allocations: 187 kB / 17.34 MB, free: 5.719 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 68.09 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.846/0.8474, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2027/1.05, allocations: 148 MB / 1.233 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00552/1.056, allocations: 4.656 MB / 1.238 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/1.056, allocations: 10.91 kB / 1.238 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/1.057, allocations: 161.3 kB / 1.238 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004141/1.057, allocations: 86.66 kB / 1.238 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/1.057, allocations: 65.27 kB / 1.238 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003915/1.058, allocations: 306.3 kB / 1.238 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/1.058, allocations: 144.2 kB / 1.238 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/1.058, allocations: 119.4 kB / 1.239 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/1.059, allocations: 146.7 kB / 1.239 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/1.059, allocations: 20.28 kB / 1.239 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.041e-05/1.059, allocations: 15.75 kB / 1.239 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/1.059, allocations: 63.77 kB / 1.239 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/1.059, allocations: 109.7 kB / 1.239 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/1.059, allocations: 233.3 kB / 1.239 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.059, allocations: 0 / 1.239 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.983e-06/1.059, allocations: 0 / 1.239 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.723e-06/1.059, allocations: 1.031 kB / 1.239 GB, free: 1.965 MB / 0.9669 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.00051/1.06, allocations: 494.2 kB / 1.24 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/1.06, allocations: 9.531 kB / 1.24 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/1.06, allocations: 30.12 kB / 1.24 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/1.06, allocations: 264.1 kB / 1.24 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/1.06, allocations: 17.5 kB / 1.24 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/1.06, allocations: 26.16 kB / 1.24 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/1.061, allocations: 306.3 kB / 1.24 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.061, allocations: 5.375 kB / 1.24 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/1.061, allocations: 16.42 kB / 1.24 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/1.061, allocations: 5.344 kB / 1.24 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/1.061, allocations: 121.5 kB / 1.24 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/1.062, allocations: 1.965 MB / 1.242 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/1.062, allocations: 174.5 kB / 1.242 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/1.062, allocations: 84.14 kB / 1.243 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.062, allocations: 75.28 kB / 1.243 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/1.063, allocations: 111.2 kB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/1.063, allocations: 0 / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/1.063, allocations: 56.34 kB / 1.243 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/1.063, allocations: 128.1 kB / 1.243 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/1.063, allocations: 335.2 kB / 1.243 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/1.063, allocations: 25.7 kB / 1.243 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.063, allocations: 165 kB / 1.243 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.922e-06/1.063, allocations: 0 / 1.243 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/1.063, allocations: 28.25 kB / 1.243 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.063, allocations: 336.4 kB / 1.244 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/1.063, allocations: 5.062 kB / 1.244 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/1.064, allocations: 59.14 kB / 1.244 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/1.064, allocations: 70.72 kB / 1.244 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.064, allocations: 1.406 kB / 1.244 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001849/1.064, allocations: 100.7 kB / 1.244 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.064, allocations: 9.875 kB / 1.244 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.064, allocations: 9.656 kB / 1.244 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.064, allocations: 6.812 kB / 1.244 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/1.064, allocations: 11.09 kB / 1.244 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.064, allocations: 2.406 kB / 1.244 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/1.064, allocations: 27.66 kB / 1.244 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/1.064, allocations: 4.875 kB / 1.244 GB, free: 13.25 MB / 0.9825 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.0001436/1.064, allocations: 212.5 kB / 1.244 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/1.064, allocations: 131.9 kB / 1.244 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/1.064, allocations: 128.2 kB / 1.245 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-05/1.064, allocations: 180.2 kB / 1.245 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.807e-05/1.065, allocations: 177.6 kB / 1.245 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-05/1.065, allocations: 185.7 kB / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/1.065, allocations: 473.9 kB / 1.245 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-05/1.065, allocations: 110 kB / 1.246 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/1.065, allocations: 106.3 kB / 1.246 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-05/1.065, allocations: 177.5 kB / 1.246 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.88e-05/1.065, allocations: 189.4 kB / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.412e-05/1.065, allocations: 180.3 kB / 1.246 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.658e-05/1.065, allocations: 185.5 kB / 1.246 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/1.066, allocations: 321.7 kB / 1.247 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/1.066, allocations: 209.5 kB / 1.247 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.066, allocations: 185.4 kB / 1.247 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/1.066, allocations: 102.2 kB / 1.247 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/1.066, allocations: 189.7 kB / 1.247 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/1.066, allocations: 101 kB / 1.247 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002424/1.066, allocations: 236.6 kB / 1.248 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/1.066, allocations: 0 / 1.248 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002836/1.067, allocations: 28.47 kB / 1.248 GB, free: 9.492 MB / 0.9825 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.0001309/1.067, allocations: 176.2 kB / 1.248 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.764e-05/1.067, allocations: 33.36 kB / 1.248 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.067, allocations: 0 / 1.248 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/1.067, allocations: 32 / 1.248 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/1.068, allocations: 0.5268 MB / 1.248 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/1.068, allocations: 423.1 kB / 1.249 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/1.069, allocations: 0.7443 MB / 1.25 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/1.069, allocations: 18.81 kB / 1.25 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/1.069, allocations: 3.938 kB / 1.25 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of Templates: time 0.005136/1.074, allocations: 2.624 MB / 1.252 GB, free: 5.734 MB / 0.9825 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/jenkins1/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