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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001389/0.001389, allocations: 107 kB / 16.37 MB, free: 6.477 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.00116/0.00116, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 64.73 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3255, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.7607/1.086, allocations: 148 MB / 1.163 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006083/1.092, allocations: 4.647 MB / 1.168 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/1.093, allocations: 11.75 kB / 1.168 GB, free: 2.695 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005874/1.093, allocations: 167.8 kB / 1.168 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/1.094, allocations: 83.36 kB / 1.168 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/1.094, allocations: 66.08 kB / 1.168 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000395/1.094, allocations: 300.1 kB / 1.168 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/1.094, allocations: 148.6 kB / 1.169 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/1.095, allocations: 111.9 kB / 1.169 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/1.095, allocations: 146.8 kB / 1.169 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/1.095, allocations: 16.56 kB / 1.169 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 3.409e-05/1.095, allocations: 19.59 kB / 1.169 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/1.095, allocations: 73.98 kB / 1.169 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/1.095, allocations: 106.5 kB / 1.169 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/1.095, allocations: 235.8 kB / 1.169 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/1.095, allocations: 0 / 1.169 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.72e-07/1.095, allocations: 0.9062 kB / 1.169 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.198e-06/1.095, allocations: 0 / 1.169 GB, free: 1.961 MB / 0.8731 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.0004826/1.096, allocations: 493.6 kB / 1.17 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/1.096, allocations: 12.89 kB / 1.17 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/1.096, allocations: 26.41 kB / 1.17 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/1.096, allocations: 272.2 kB / 1.17 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/1.096, allocations: 17.53 kB / 1.17 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/1.096, allocations: 19.34 kB / 1.17 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/1.097, allocations: 312.9 kB / 1.17 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.097, allocations: 0.9688 kB / 1.17 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.097, allocations: 11.34 kB / 1.17 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.097, allocations: 7.281 kB / 1.17 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/1.097, allocations: 128.2 kB / 1.171 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.098, allocations: 1.966 MB / 1.172 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/1.099, allocations: 170.4 kB / 1.173 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/1.099, allocations: 81.92 kB / 1.173 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/1.099, allocations: 80.22 kB / 1.173 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.099, allocations: 107.1 kB / 1.173 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/1.099, allocations: 0 / 1.173 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.817e-05/1.099, allocations: 59.95 kB / 1.173 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/1.099, allocations: 130.5 kB / 1.173 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/1.099, allocations: 323.6 kB / 1.173 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/1.099, allocations: 29.7 kB / 1.173 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.099, allocations: 166 kB / 1.174 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/1.099, allocations: 1.469 kB / 1.174 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/1.099, allocations: 24.66 kB / 1.174 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.099, allocations: 332.2 kB / 1.174 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/1.1, allocations: 6.656 kB / 1.174 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.62e-05/1.1, allocations: 61.48 kB / 1.174 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.189e-05/1.1, allocations: 74.17 kB / 1.174 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.1, allocations: 0 / 1.174 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001625/1.1, allocations: 105.6 kB / 1.174 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.1, allocations: 5.594 kB / 1.174 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.1, allocations: 5.656 kB / 1.174 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/1.1, allocations: 14.16 kB / 1.174 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/1.1, allocations: 12.03 kB / 1.174 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.1, allocations: 6.094 kB / 1.174 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/1.1, allocations: 29.44 kB / 1.174 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/1.1, allocations: 4.156 kB / 1.174 GB, free: 13.5 MB / 0.8887 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.0001229/1.1, allocations: 208 kB / 1.174 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/1.1, allocations: 127.2 kB / 1.175 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.023e-05/1.1, allocations: 132.2 kB / 1.175 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.348e-05/1.1, allocations: 184.2 kB / 1.175 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-05/1.101, allocations: 181.4 kB / 1.175 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-05/1.101, allocations: 179.6 kB / 1.175 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/1.101, allocations: 478.8 kB / 1.176 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/1.101, allocations: 104.9 kB / 1.176 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/1.101, allocations: 106 kB / 1.176 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-05/1.101, allocations: 181.3 kB / 1.176 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/1.101, allocations: 183.8 kB / 1.176 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.991e-05/1.101, allocations: 183 kB / 1.176 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.417e-05/1.101, allocations: 181.3 kB / 1.177 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/1.102, allocations: 331.4 kB / 1.177 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/1.102, allocations: 202.6 kB / 1.177 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/1.102, allocations: 181.4 kB / 1.177 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.102, allocations: 110 kB / 1.177 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/1.102, allocations: 179.5 kB / 1.177 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.102, allocations: 109.7 kB / 1.178 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002769/1.102, allocations: 240 kB / 1.178 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.102, allocations: 0 / 1.178 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002777/1.103, allocations: 36.34 kB / 1.178 GB, free: 9.824 MB / 0.8887 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.000145/1.103, allocations: 173 kB / 1.178 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.816e-05/1.103, allocations: 26 kB / 1.178 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.103, allocations: 4.062 kB / 1.178 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/1.103, allocations: 0 / 1.178 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/1.104, allocations: 0.5194 MB / 1.179 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/1.104, allocations: 389.9 kB / 1.179 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/1.105, allocations: 0.7435 MB / 1.18 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 9.892e-05/1.105, allocations: 33.2 kB / 1.18 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/1.105, allocations: 17.5 kB / 1.18 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/1.105, allocations: 0 / 1.18 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of Templates: time 0.00573/1.11, allocations: 2.344 MB / 1.182 GB, free: 7.102 MB / 0.8887 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 gbode -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