Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.001062/0.001062, 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.00142/0.00142, 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.027/1.027, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 2.02/2.02, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 177] 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.354e-05, allocations: 3.312 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001191/0.001205, allocations: 0.6188 MB / 0.7607 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.552e-05/0.00125, allocations: 8 kB / 0.7607 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.001272, allocations: 0.9688 kB / 0.7607 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.001292, allocations: 0 / 0.7607 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.001319, allocations: 1.031 kB / 0.7607 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.473e-05/0.001344, allocations: 0 / 0.7607 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.925e-05/0.001383, allocations: 0.6562 kB / 0.7607 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.001417, allocations: 4.688 kB / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.001443, allocations: 0.6562 kB / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.903e-05/0.001462, allocations: 1.781 kB / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.001473, allocations: 0 / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-06/0.001476, allocations: 3.938 kB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.001487, allocations: 4.859 kB / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.186e-05/0.001499, allocations: 4 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 4.437e-05/0.001544, allocations: 2.203 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.001545, allocations: 0 / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.001546, allocations: 0 / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.001549, allocations: 2.062 kB / 0.7607 GB, free: 5.941 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.0001786/0.001727, allocations: 212.8 kB / 0.7609 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.001758, allocations: 12.03 kB / 0.7609 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.953e-05/0.001777, allocations: 0.9375 kB / 0.7609 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.915e-05/0.001846, allocations: 105.8 kB / 0.761 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.001854, allocations: 1.672 kB / 0.761 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-06/0.001859, allocations: 4.375 kB / 0.761 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.445e-05/0.001904, allocations: 27.14 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.001909, allocations: 192 / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-06/0.001914, allocations: 1.031 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.001918, allocations: 1.906 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-06/0.001927, allocations: 13.78 kB / 0.7611 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.002085, allocations: 286.9 kB / 0.7614 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.806e-05/0.002153, allocations: 169.1 kB / 0.7615 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.002173, allocations: 80.14 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.002191, allocations: 79.28 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.002223, allocations: 111 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.002223, allocations: 0 / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.193e-05/0.002265, allocations: 25.7 kB / 0.7618 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.002307, allocations: 135.2 kB / 0.7619 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/0.002357, allocations: 99.64 kB / 0.762 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.002366, allocations: 25.7 kB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.002391, allocations: 80.7 kB / 0.7621 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.91e-07/0.002391, allocations: 0.6875 kB / 0.7621 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.002408, allocations: 18.58 kB / 0.7621 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.002481, allocations: 312.8 kB / 0.7624 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-06/0.002483, allocations: 0 / 0.7624 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-06/0.002486, allocations: 0 / 0.7624 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.002504, allocations: 79.28 kB / 0.7625 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.002521, allocations: 79.22 kB / 0.7626 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.222e-05/0.002553, allocations: 28.45 kB / 0.7626 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.002577, allocations: 83.28 kB / 0.7627 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.002595, allocations: 80.27 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/0.002632, allocations: 154.5 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.00265, allocations: 87.34 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/0.002685, allocations: 162.5 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.002723, allocations: 75.28 kB / 0.7632 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.002744, allocations: 83.3 kB / 0.7633 GB, free: 3.133 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 6.926e-05/0.002813, allocations: 262.1 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.003113, allocations: 104.9 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.00315, allocations: 112 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/0.003192, allocations: 190 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/0.003232, allocations: 180.2 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/0.003267, allocations: 180.3 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.003386, allocations: 314.3 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/0.003414, allocations: 109 kB / 0.7647 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.003438, allocations: 105.4 kB / 0.7648 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.854e-05/0.003476, allocations: 176.3 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.003515, allocations: 183.4 kB / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-05/0.003552, allocations: 185.1 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.93e-05/0.003591, allocations: 176.3 kB / 0.7655 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.945e-05/0.003681, allocations: 311.7 kB / 0.7658 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.00371, allocations: 104.9 kB / 0.7659 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.003756, allocations: 176.3 kB / 0.7661 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.003803, allocations: 113 kB / 0.7662 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.003857, allocations: 184.2 kB / 0.7663 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.003879, allocations: 103.8 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.153e-05/0.003891, allocations: 13.45 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003891, allocations: 0 / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001318/0.004023, allocations: 0 / 0.7664 GB, free: 15.75 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 7.752e-05/0.0041, allocations: 156.9 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.505e-05/0.004125, allocations: 3.938 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.004128, allocations: 0 / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.004129, allocations: 1.906 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.004311, allocations: 459.7 kB / 0.767 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001424/0.004454, allocations: 164.5 kB / 0.7672 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.915e-05/0.004483, allocations: 51.36 kB / 0.7672 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.503e-06/0.004485, allocations: 0 / 0.7672 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.004503, allocations: 50.81 kB / 0.7673 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.004504, allocations: 0 / 0.7673 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of Templates: time 0.001232/0.005736, allocations: 172.7 kB / 0.7675 GB, free: 14.66 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_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.128224153071642]