Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001235/0.001235, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 179.4 kB / 16.92 MB, free: 6.652 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.487/1.487, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7014, allocations: 142.4 MB / 0.9557 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1865/0.8879, allocations: 169.6 MB / 1.121 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009444/0.8974, allocations: 9.392 MB / 1.131 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.8978, allocations: 11.94 kB / 1.131 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.8984, allocations: 151.1 kB / 1.131 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.8986, allocations: 83.44 kB / 1.131 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.8988, allocations: 51.95 kB / 1.131 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004137/0.8992, allocations: 382.6 kB / 1.131 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000328/0.8995, allocations: 201.7 kB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.8998, allocations: 127.4 kB / 1.131 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.9, allocations: 87.45 kB / 1.132 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.9, allocations: 4 kB / 1.132 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.409e-05/0.9, allocations: 4 kB / 1.132 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.9001, allocations: 51.77 kB / 1.132 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.9002, allocations: 133.1 kB / 1.132 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.9004, allocations: 203.4 kB / 1.132 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9004, allocations: 0 / 1.132 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9004, allocations: 4 kB / 1.132 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.9004, allocations: 0 / 1.132 GB, free: 10.25 MB / 0.8887 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.0004665/0.9009, allocations: 475 kB / 1.132 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9009, allocations: 8.031 kB / 1.132 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.901, allocations: 31.66 kB / 1.132 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.9013, allocations: 267.9 kB / 1.133 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.9013, allocations: 24.55 kB / 1.133 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.9014, allocations: 24 kB / 1.133 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.9019, allocations: 331.8 kB / 1.133 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.9019, allocations: 0 / 1.133 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.9019, allocations: 16 kB / 1.133 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.9019, allocations: 8 kB / 1.133 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.9022, allocations: 147.7 kB / 1.133 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.9035, allocations: 1.808 MB / 1.135 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.9036, allocations: 165.1 kB / 1.135 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.9036, allocations: 80.14 kB / 1.135 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.9037, allocations: 83.22 kB / 1.135 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.9037, allocations: 105.8 kB / 1.135 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.9037, allocations: 0 / 1.135 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.448e-05/0.9038, allocations: 69.25 kB / 1.135 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.9039, allocations: 126.7 kB / 1.136 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.9043, allocations: 369.7 kB / 1.136 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.9044, allocations: 25.7 kB / 1.136 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.9045, allocations: 171.8 kB / 1.136 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-06/0.9045, allocations: 3.938 kB / 1.136 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.9045, allocations: 13.72 kB / 1.136 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9047, allocations: 334.8 kB / 1.136 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.9047, allocations: 7.984 kB / 1.136 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.9048, allocations: 36.3 kB / 1.137 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.9048, allocations: 48.27 kB / 1.137 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9048, allocations: 0 / 1.137 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000161/0.905, allocations: 93.34 kB / 1.137 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.905, allocations: 9.875 kB / 1.137 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.905, allocations: 3.984 kB / 1.137 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9051, allocations: 4 kB / 1.137 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.9051, allocations: 4.109 kB / 1.137 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.9052, allocations: 11.88 kB / 1.137 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.9052, allocations: 27.59 kB / 1.137 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.9053, allocations: 4.109 kB / 1.137 GB, free: 5.031 MB / 0.8887 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.0001424/0.9054, allocations: 213.1 kB / 1.137 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.9055, allocations: 132.7 kB / 1.137 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.129e-05/0.9056, allocations: 138.9 kB / 1.137 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.363e-05/0.9057, allocations: 180.2 kB / 1.137 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-05/0.9057, allocations: 176.3 kB / 1.138 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-05/0.9058, allocations: 180.2 kB / 1.138 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.9062, allocations: 493.1 kB / 1.138 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.9062, allocations: 108.9 kB / 1.138 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.9063, allocations: 101 kB / 1.138 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.338e-05/0.9063, allocations: 192.2 kB / 1.139 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.9064, allocations: 176.3 kB / 1.139 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.216e-05/0.9065, allocations: 176.3 kB / 1.139 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.495e-05/0.9066, allocations: 184.2 kB / 1.139 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.9067, allocations: 335.4 kB / 1.139 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.9069, allocations: 213.7 kB / 1.14 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.9069, allocations: 184.3 kB / 1.14 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.9071, allocations: 108.9 kB / 1.14 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.9071, allocations: 176.3 kB / 1.14 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.9072, allocations: 104.9 kB / 1.14 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002622/0.9074, allocations: 271.2 kB / 1.14 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.9075, allocations: 0 / 1.14 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002495/0.9077, allocations: 31.94 kB / 1.14 GB, free: 1.016 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.0001405/0.9079, allocations: 180.3 kB / 1.141 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.9079, allocations: 19.94 kB / 1.141 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9079, allocations: 0 / 1.141 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.908, allocations: 352 / 1.141 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.9089, allocations: 0.6212 MB / 1.141 GB, free: 192 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.9095, allocations: 0.5181 MB / 1.142 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.9099, allocations: 0.7521 MB / 1.142 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.9099, allocations: 19.44 kB / 1.142 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of SimCode: time 1.904e-06/0.9099, allocations: 0 / 1.142 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of Templates: time 0.00523/0.9152, allocations: 3.076 MB / 1.145 GB, free: 11.78 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches