Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001116/0.001116, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001362/0.001362, allocations: 165 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 0.9462/0.9462, allocations: 177.1 MB / 204.6 MB, free: 5.059 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.899/1.899, allocations: 377.9 MB / 0.624 GB, free: 8.332 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.498e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001342/0.001367, allocations: 0.6036 MB / 0.7606 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.928e-05/0.001416, allocations: 3.938 kB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.001438, allocations: 0.75 kB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.001461, allocations: 0 / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.00149, allocations: 1.547 kB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.144e-05/0.001521, allocations: 5.188 kB / 0.7607 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.001568, allocations: 4 kB / 0.7607 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.001604, allocations: 3.984 kB / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.271e-05/0.001637, allocations: 0.5469 kB / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.182e-05/0.001659, allocations: 5.453 kB / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.001673, allocations: 0 / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-06/0.001676, allocations: 1.219 kB / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.001688, allocations: 0.6562 kB / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.118e-05/0.001699, allocations: 0 / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.149e-05/0.001751, allocations: 5.375 kB / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.001753, allocations: 0 / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.11e-07/0.001754, allocations: 0 / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.001757, allocations: 1.594 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.0001856/0.001942, allocations: 217.4 kB / 0.7609 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.001973, allocations: 8.031 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.724e-05/0.001991, allocations: 4.875 kB / 0.7609 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.11e-05/0.002062, allocations: 106.7 kB / 0.761 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.002071, allocations: 384 / 0.761 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.002078, allocations: 1.344 kB / 0.761 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.801e-05/0.002126, allocations: 26.81 kB / 0.761 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.002131, allocations: 5.438 kB / 0.761 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.002137, allocations: 384 / 0.761 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.002141, allocations: 384 / 0.761 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-06/0.002148, allocations: 5.094 kB / 0.761 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.002319, allocations: 292 kB / 0.7613 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.585e-05/0.002385, allocations: 173.2 kB / 0.7615 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.002407, allocations: 85.38 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.002427, allocations: 75.28 kB / 0.7616 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.002462, allocations: 105.8 kB / 0.7617 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.002464, allocations: 5.031 kB / 0.7617 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.556e-05/0.002509, allocations: 29.64 kB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.002559, allocations: 130.6 kB / 0.7619 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.002614, allocations: 95.25 kB / 0.762 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.002622, allocations: 27.27 kB / 0.762 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.00265, allocations: 88.12 kB / 0.7621 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.61e-07/0.00265, allocations: 0.875 kB / 0.7621 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.002666, allocations: 9.719 kB / 0.7621 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.002737, allocations: 316.1 kB / 0.7624 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-06/0.00274, allocations: 4 kB / 0.7624 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-06/0.002744, allocations: 0 / 0.7624 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.002762, allocations: 76.78 kB / 0.7625 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/0.00278, allocations: 75.28 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.482e-05/0.002814, allocations: 33.64 kB / 0.7626 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.00284, allocations: 80.38 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.002857, allocations: 75.84 kB / 0.7627 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.477e-05/0.002902, allocations: 163.3 kB / 0.7629 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.127e-05/0.002923, allocations: 83.28 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-05/0.002959, allocations: 155.3 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.003001, allocations: 83.22 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.003019, allocations: 80.12 kB / 0.7633 GB, free: 3.16 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 7.799e-05/0.003097, allocations: 260.4 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.003135, allocations: 114.3 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.00317, allocations: 108 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.989e-05/0.00321, allocations: 181.1 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.254e-05/0.003252, allocations: 188.1 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.951e-05/0.003292, allocations: 177.3 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.003417, allocations: 321.4 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/0.003445, allocations: 101.9 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.003469, allocations: 101 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.121e-05/0.003511, allocations: 184.2 kB / 0.7649 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.003552, allocations: 176.9 kB / 0.7651 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-05/0.003593, allocations: 185.4 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.906e-05/0.003632, allocations: 187 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.851e-05/0.003721, allocations: 303.7 kB / 0.7657 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.003748, allocations: 101 kB / 0.7658 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.003793, allocations: 188.2 kB / 0.766 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.484e-05/0.003838, allocations: 105 kB / 0.7661 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.003895, allocations: 184.3 kB / 0.7663 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.00392, allocations: 109.2 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.277e-05/0.003932, allocations: 11.8 kB / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003932, allocations: 0 / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001296/0.004062, 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 0.0001085/0.00417, allocations: 156.3 kB / 0.7666 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.942e-05/0.0042, allocations: 4 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.004202, allocations: 1.781 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.004204, allocations: 3.984 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.0001941/0.004398, allocations: 459.6 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.0001635/0.004562, allocations: 155.4 kB / 0.7672 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.00459, allocations: 52.12 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.753e-06/0.004592, allocations: 0.9062 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.004615, allocations: 51.38 kB / 0.7673 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/0.004616, allocations: 0.6562 kB / 0.7673 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.00135/0.005965, allocations: 178.6 kB / 0.7674 GB, free: 14.69 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_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: 4.94495199713856]