Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0009453/0.0009453, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001041/0.001041, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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.02/1.02, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.956/1.956, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.412e-05, allocations: 6.141 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001358/0.001382, allocations: 0.6182 MB / 0.7607 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.83e-05/0.001431, allocations: 1.031 kB / 0.7607 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.001461, allocations: 0 / 0.7607 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.001486, allocations: 1.422 kB / 0.7607 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.976e-05/0.001516, allocations: 4.469 kB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.239e-05/0.001548, allocations: 5.719 kB / 0.7607 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.001596, allocations: 0 / 0.7607 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.001634, allocations: 7.984 kB / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.001665, allocations: 0.6562 kB / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.187e-05/0.001686, allocations: 0 / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.001699, allocations: 1.219 kB / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-06/0.001702, allocations: 0 / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.001715, allocations: 0.6562 kB / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.001727, allocations: 5.406 kB / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.32e-05/0.00178, allocations: 4.859 kB / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.001782, allocations: 0 / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.001783, allocations: 0 / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.001786, allocations: 0.6562 kB / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001871/0.001973, allocations: 212.8 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.002005, allocations: 13.84 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.914e-05/0.002024, allocations: 0.9375 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.002101, allocations: 102.5 kB / 0.761 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.00211, allocations: 1.125 kB / 0.761 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-06/0.002114, allocations: 4.375 kB / 0.761 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.963e-05/0.002164, allocations: 31.05 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.002171, allocations: 192 / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.002177, allocations: 5.703 kB / 0.7611 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.002182, allocations: 384 / 0.7611 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-06/0.002191, allocations: 7.938 kB / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.002367, allocations: 288 kB / 0.7613 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.002433, allocations: 169.1 kB / 0.7615 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.002455, allocations: 89.23 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.002472, allocations: 79.31 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.002506, allocations: 105.8 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.002507, allocations: 2.656 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.798e-05/0.002555, allocations: 25.7 kB / 0.7618 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.002598, allocations: 135.9 kB / 0.7619 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.002659, allocations: 98.7 kB / 0.762 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.002667, allocations: 25.7 kB / 0.762 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.002698, allocations: 80.98 kB / 0.7621 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.32e-07/0.002699, allocations: 0 / 0.7621 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.002716, allocations: 16.47 kB / 0.7621 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.002789, allocations: 314.8 kB / 0.7624 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-06/0.002792, allocations: 0 / 0.7624 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-06/0.002795, allocations: 0 / 0.7624 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.002817, allocations: 79.28 kB / 0.7625 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.002834, allocations: 76.05 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.909e-05/0.002873, allocations: 25.7 kB / 0.7626 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.002901, allocations: 83.28 kB / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.002923, allocations: 86.02 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/0.002966, allocations: 154.6 kB / 0.7629 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.316e-05/0.002989, allocations: 87.34 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.324e-05/0.003023, allocations: 158.5 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.003064, allocations: 79.81 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.003084, allocations: 87.25 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.013e-05/0.003164, allocations: 257.8 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.003201, allocations: 105 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.003239, allocations: 108 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.08e-05/0.00328, allocations: 185.1 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/0.003325, allocations: 180.8 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.283e-05/0.003368, allocations: 184.2 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.003493, allocations: 315.6 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/0.003516, allocations: 105 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.003541, allocations: 104.9 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-05/0.003584, allocations: 176.3 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.003627, allocations: 184.2 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.059e-05/0.003668, allocations: 187.5 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.155e-05/0.00371, allocations: 180.2 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.576e-05/0.003805, allocations: 303.8 kB / 0.7658 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.00384, allocations: 112.9 kB / 0.7659 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.003884, allocations: 180.3 kB / 0.7661 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.00393, allocations: 108.9 kB / 0.7662 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.003982, allocations: 180.3 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.004007, allocations: 108.3 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.247e-05/0.00402, allocations: 8.797 kB / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00402, allocations: 0 / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001339/0.004154, allocations: 0 / 0.7664 GB, free: 15.78 MB / 0.7292 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 9.573e-05/0.00425, allocations: 160.7 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.841e-05/0.004278, allocations: 0 / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.00428, allocations: 0.9375 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.004282, allocations: 4.047 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.004472, allocations: 454.8 kB / 0.767 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/0.004626, allocations: 159.4 kB / 0.7672 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.744e-05/0.004653, allocations: 55.34 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.593e-06/0.004655, allocations: 0 / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.004676, allocations: 47.38 kB / 0.7673 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.004676, allocations: 0.9844 kB / 0.7673 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.001303/0.005979, allocations: 179.3 kB / 0.7675 GB, free: 14.69 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.044226629193872]