Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 208.9 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.633/3.633, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow|preInd.m_flow|preIndFrom_dp.m_flow|preIndDpFixed_nominal.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow|preInd.m_flow|preIndFrom_dp.m_flow|preIndDpFixed_nominal.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 71.92 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4549, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.2332/0.6881, allocations: 160.7 MB / 1.484 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.7004, allocations: 5.375 MB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.7024, allocations: 35.62 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.7042, allocations: 452.8 kB / 1.49 GB, free: 9.855 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.7099, allocations: 1.604 MB / 1.491 GB, free: 8.246 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007076/0.717, allocations: 2.116 MB / 1.493 GB, free: 6.141 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005143/0.7222, allocations: 3.073 MB / 1.496 GB, free: 3.062 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.7244, allocations: 0.9953 MB / 1.497 GB, free: 2.051 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.7284, allocations: 1.48 MB / 1.499 GB, free: 0.5664 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/0.7329, allocations: 2.151 MB / 1.501 GB, free: 14.41 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.7345, allocations: 272 kB / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.7397, allocations: 1.638 MB / 1.503 GB, free: 12.5 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.7419, allocations: 0.9975 MB / 1.504 GB, free: 11.5 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003204/0.7451, allocations: 1.086 MB / 1.505 GB, free: 10.41 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008752/0.7538, allocations: 3.929 MB / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.7538, allocations: 0 / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7538, allocations: 0 / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001465/0.754, allocations: 0 / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.01293/0.7669, allocations: 2.986 MB / 1.512 GB, free: 3.445 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.767, allocations: 8.031 kB / 1.512 GB, free: 3.438 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/0.7709, allocations: 494.3 kB / 1.512 GB, free: 2.953 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005509/0.7764, allocations: 2.19 MB / 1.514 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.982e-05/0.7765, allocations: 69.31 kB / 1.514 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/0.7769, allocations: 95.94 kB / 1.514 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.7793, allocations: 1.225 MB / 1.516 GB, free: 15.27 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.7794, allocations: 7.938 kB / 1.516 GB, free: 15.27 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.7794, allocations: 24 kB / 1.516 GB, free: 15.24 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.7795, allocations: 20 kB / 1.516 GB, free: 15.22 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.782, allocations: 1.375 MB / 1.517 GB, free: 13.84 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.797, allocations: 5.566 MB / 1.522 GB, free: 8.156 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.7996, allocations: 1.199 MB / 1.523 GB, free: 6.953 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.8007, allocations: 0.5995 MB / 1.524 GB, free: 6.355 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003374/0.8011, allocations: 64.45 kB / 1.524 GB, free: 6.289 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.8011, allocations: 35.06 kB / 1.524 GB, free: 6.246 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 3.407e-06/0.8011, allocations: 0 / 1.524 GB, free: 6.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.005814/0.8069, allocations: 2.082 MB / 1.526 GB, free: 4.156 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.807, allocations: 63.84 kB / 1.526 GB, free: 4.078 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005303/0.8123, allocations: 2.927 MB / 1.529 GB, free: 1.105 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000773/0.813, allocations: 49.7 kB / 1.529 GB, free: 1.051 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008565/0.8139, allocations: 0.695 MB / 1.53 GB, free: 360 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.8141, allocations: 198.3 kB / 1.53 GB, free: 160 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.8152, allocations: 406.4 kB / 1.53 GB, free: 15.75 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8153, allocations: 301.1 kB / 1.531 GB, free: 15.46 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004269/0.8196, allocations: 2.414 MB / 1.533 GB, free: 13.04 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005315/0.8249, allocations: 3.787 MB / 1.537 GB, free: 8.859 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005729/0.8307, allocations: 3.336 MB / 1.54 GB, free: 5.449 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.8307, allocations: 4 kB / 1.54 GB, free: 5.445 MB / 1.232 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01035/0.841, allocations: 4.88 MB / 1.545 GB, free: 0.5586 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.841, allocations: 11.94 kB / 1.545 GB, free: 0.5469 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/0.8411, allocations: 8 kB / 1.545 GB, free: 0.5391 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007215/0.8418, allocations: 132.7 kB / 1.545 GB, free: 416 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/0.8439, allocations: 255.7 kB / 1.545 GB, free: 160 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.8451, allocations: 1.212 MB / 1.546 GB, free: 14.89 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/0.8484, allocations: 298.3 kB / 1.547 GB, free: 14.6 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/0.8488, allocations: 56.03 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005156/0.8539, allocations: 2.728 MB / 1.549 GB, free: 11.81 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005663/0.8596, allocations: 3.772 MB / 1.553 GB, free: 7.648 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005822/0.8654, allocations: 3.314 MB / 1.556 GB, free: 4.258 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.987e-06/0.8654, allocations: 4 kB / 1.556 GB, free: 4.254 MB / 1.248 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.01042/0.8758, allocations: 4.835 MB / 1.561 GB, free: 15.41 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.8759, allocations: 11.94 kB / 1.561 GB, free: 15.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.8759, allocations: 8.547 kB / 1.561 GB, free: 15.39 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.8759, allocations: 16 kB / 1.561 GB, free: 15.38 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.8777, allocations: 243.7 kB / 1.561 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.108e-05/0.8778, allocations: 19.92 kB / 1.561 GB, free: 15.12 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.8812, allocations: 275.4 kB / 1.562 GB, free: 14.84 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/0.8814, allocations: 47.98 kB / 1.562 GB, free: 14.8 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preInd.idx_sorted[13],preInd.idx_sorted[12],preInd.idx_sorted[11],preInd.idx_sorted[10],preInd.idx_sorted[9],preInd.idx_sorted[8],preInd.idx_sorted[7],preInd.idx_sorted[6],preInd.idx_sorted[5],preInd.idx_sorted[4],preInd.idx_sorted[3],preInd.idx_sorted[2],preInd.idx_sorted[1],preIndFrom_dp.idx_sorted[13],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[13],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 112 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006837/0.8821, allocations: 275 kB / 1.562 GB, free: 14.52 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.8827, allocations: 166.9 kB / 1.562 GB, free: 14.36 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.8863, allocations: 1.585 MB / 1.564 GB, free: 12.76 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.8863, allocations: 11.86 kB / 1.564 GB, free: 12.75 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8863, allocations: 4 kB / 1.564 GB, free: 12.74 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.8873, allocations: 354.4 kB / 1.564 GB, free: 12.39 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.8875, allocations: 16 kB / 1.564 GB, free: 12.38 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.889, allocations: 75.89 kB / 1.564 GB, free: 12.3 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.8891, allocations: 48.56 kB / 1.564 GB, free: 12.26 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00332/0.8924, allocations: 1.498 MB / 1.566 GB, free: 10.75 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004515/0.8969, allocations: 2.477 MB / 1.568 GB, free: 8.254 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001195/0.8981, allocations: 0.5946 MB / 1.569 GB, free: 7.656 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003797/0.9019, allocations: 2.086 MB / 1.571 GB, free: 5.547 MB / 1.264 GB Notification: Performance of Backend: time 1.914e-06/0.9019, allocations: 0 / 1.571 GB, free: 5.547 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01443/0.9164, allocations: 5.937 MB / 1.576 GB, free: 15.57 MB / 1.279 GB Notification: Performance of SimCode: time 0.007098/0.9235, allocations: 3.21 MB / 1.58 GB, free: 12.3 MB / 1.279 GB Notification: Performance of Templates: time 1.057/1.98, allocations: 66.86 MB / 1.645 GB, free: 263 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Dampers_Examples_Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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: 13.172262435000448]