Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 190.9 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.521/3.521, allocations: 495.8 MB / 0.783 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,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_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 65.92 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5169, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2455/0.7624, allocations: 173 MB / 1.476 GB, free: 4.223 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.7736, allocations: 9.538 MB / 1.485 GB, free: 10.65 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.7741, allocations: 11.94 kB / 1.485 GB, free: 10.64 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007179/0.7748, allocations: 194.7 kB / 1.485 GB, free: 10.45 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.7752, allocations: 91.31 kB / 1.485 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.7755, allocations: 75.78 kB / 1.485 GB, free: 10.29 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.7761, allocations: 330.5 kB / 1.486 GB, free: 9.961 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.7765, allocations: 141.4 kB / 1.486 GB, free: 9.824 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.7769, allocations: 167.4 kB / 1.486 GB, free: 9.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.777, allocations: 131.3 kB / 1.486 GB, free: 9.531 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.7771, allocations: 24 kB / 1.486 GB, free: 9.508 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.7771, allocations: 20 kB / 1.486 GB, free: 9.488 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.7772, allocations: 71.77 kB / 1.486 GB, free: 9.418 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.7774, allocations: 131.3 kB / 1.486 GB, free: 9.289 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.7777, allocations: 298.6 kB / 1.487 GB, free: 8.996 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7777, allocations: 0 / 1.487 GB, free: 8.996 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7778, allocations: 4 kB / 1.487 GB, free: 8.992 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.7778, allocations: 0 / 1.487 GB, free: 8.992 MB / 1.186 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.0006077/0.7784, allocations: 449.6 kB / 1.487 GB, free: 8.523 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.7784, allocations: 8.031 kB / 1.487 GB, free: 8.516 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.7785, allocations: 35.75 kB / 1.487 GB, free: 8.48 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.7789, allocations: 221.8 kB / 1.487 GB, free: 8.238 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.779, allocations: 20.66 kB / 1.487 GB, free: 8.219 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.779, allocations: 24 kB / 1.487 GB, free: 8.195 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.7795, allocations: 321.1 kB / 1.488 GB, free: 7.836 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.7795, allocations: 0 / 1.488 GB, free: 7.836 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.7796, allocations: 16 kB / 1.488 GB, free: 7.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.7796, allocations: 8 kB / 1.488 GB, free: 7.812 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.7798, allocations: 151.6 kB / 1.488 GB, free: 7.664 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.7814, allocations: 1.772 MB / 1.49 GB, free: 5.801 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.7815, allocations: 165.1 kB / 1.49 GB, free: 5.629 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.7816, allocations: 84.14 kB / 1.49 GB, free: 5.543 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.7816, allocations: 83.16 kB / 1.49 GB, free: 5.461 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.7817, allocations: 109.8 kB / 1.49 GB, free: 5.344 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.7817, allocations: 0 / 1.49 GB, free: 5.344 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001122/0.7818, allocations: 61.44 kB / 1.49 GB, free: 5.277 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.7819, allocations: 126.7 kB / 1.49 GB, free: 5.141 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.7823, allocations: 373.7 kB / 1.491 GB, free: 4.766 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.7823, allocations: 29.7 kB / 1.491 GB, free: 4.73 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.7825, allocations: 171.9 kB / 1.491 GB, free: 4.559 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.7825, allocations: 0 / 1.491 GB, free: 4.559 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.7826, allocations: 21.67 kB / 1.491 GB, free: 4.531 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.7827, allocations: 334.8 kB / 1.491 GB, free: 4.195 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.7828, allocations: 7.984 kB / 1.491 GB, free: 4.188 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/0.7828, allocations: 40.3 kB / 1.491 GB, free: 4.133 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/0.7829, allocations: 40.23 kB / 1.491 GB, free: 4.078 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7829, allocations: 0 / 1.491 GB, free: 4.078 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001795/0.7831, allocations: 93.36 kB / 1.491 GB, free: 3.98 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.7831, allocations: 9.406 kB / 1.491 GB, free: 3.973 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7831, allocations: 7.969 kB / 1.491 GB, free: 3.965 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.7831, allocations: 4 kB / 1.491 GB, free: 3.961 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.18e-05/0.7832, allocations: 4 kB / 1.491 GB, free: 3.957 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7832, allocations: 7.938 kB / 1.491 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.7833, allocations: 27.73 kB / 1.491 GB, free: 3.922 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.7833, allocations: 0 / 1.491 GB, free: 3.922 MB / 1.186 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.0001762/0.7834, allocations: 221.2 kB / 1.492 GB, free: 3.695 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.7835, allocations: 132.8 kB / 1.492 GB, free: 3.559 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/0.7836, allocations: 138.8 kB / 1.492 GB, free: 3.414 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001126/0.7838, allocations: 180.4 kB / 1.492 GB, free: 3.23 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001128/0.7839, allocations: 180.3 kB / 1.492 GB, free: 3.047 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.378e-05/0.784, allocations: 180.2 kB / 1.492 GB, free: 2.863 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.7843, allocations: 468.2 kB / 1.493 GB, free: 2.355 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.017e-05/0.7844, allocations: 108.9 kB / 1.493 GB, free: 2.242 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.7844, allocations: 101 kB / 1.493 GB, free: 2.137 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.623e-05/0.7845, allocations: 188.3 kB / 1.493 GB, free: 1.945 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/0.7846, allocations: 180.2 kB / 1.493 GB, free: 1.762 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-05/0.7847, allocations: 180.3 kB / 1.493 GB, free: 1.578 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.325e-05/0.7847, allocations: 180.2 kB / 1.494 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.785, allocations: 335.8 kB / 1.494 GB, free: 1.043 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.7851, allocations: 140.8 kB / 1.494 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.7852, allocations: 180.3 kB / 1.494 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.7854, allocations: 104.9 kB / 1.494 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.7855, allocations: 180.3 kB / 1.495 GB, free: 432 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.7855, allocations: 108.9 kB / 1.495 GB, free: 316 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003234/0.7859, allocations: 271.1 kB / 1.495 GB, free: 52 kB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.7859, allocations: 0 / 1.495 GB, free: 52 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.000289/0.7861, allocations: 32 kB / 1.495 GB, free: 20 kB / 1.186 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.0002386/0.7864, allocations: 175.3 kB / 1.495 GB, free: 15.84 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.7865, allocations: 15.94 kB / 1.495 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7865, allocations: 0 / 1.495 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.7865, allocations: 0 / 1.495 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.7876, allocations: 0.5519 MB / 1.496 GB, free: 15.26 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.7885, allocations: 441.3 kB / 1.496 GB, free: 14.81 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.789, allocations: 0.7558 MB / 1.497 GB, free: 14.03 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.7891, allocations: 30.95 kB / 1.497 GB, free: 14 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.7892, allocations: 23.44 kB / 1.497 GB, free: 13.97 MB / 1.201 GB Notification: Performance of SimCode: time 3.91e-07/0.7892, allocations: 0 / 1.497 GB, free: 13.97 MB / 1.201 GB Notification: Performance of Templates: time 0.008497/0.7977, allocations: 3.226 MB / 1.5 GB, free: 10.8 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.576768696308136]