Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 178.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009365/0.0009363, allocations: 90.48 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.211e-05, allocations: 8 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2308, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7379/0.9687, allocations: 130.8 MB / 1.02 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.969, allocations: 68.02 kB / 1.02 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005148/0.9695, allocations: 372.5 kB / 1.02 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9695, allocations: 0 / 1.02 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.9695, allocations: 0 / 1.02 GB, free: 3.531 MB / 0.6355 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.0002564/0.9698, allocations: 310.2 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.9699, allocations: 16.03 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.9699, allocations: 0 / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.9701, allocations: 169.8 kB / 1.02 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.9701, allocations: 0 / 1.02 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.9701, allocations: 0 / 1.02 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/0.9702, allocations: 33.7 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.9702, allocations: 0 / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.9702, allocations: 0.875 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.9702, allocations: 0 / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.9702, allocations: 3.984 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.9706, allocations: 385.3 kB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.9707, allocations: 180 kB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.9707, allocations: 80.14 kB / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.9708, allocations: 79.31 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.9708, allocations: 105.8 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.9708, allocations: 0 / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.979e-05/0.9709, allocations: 32.23 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.971, allocations: 133.4 kB / 1.021 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.971, allocations: 92.62 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.9711, allocations: 25.7 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.9711, allocations: 80.14 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.9711, allocations: 0 / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.9711, allocations: 0 / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.9712, allocations: 318.8 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-06/0.9712, allocations: 128 / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-06/0.9712, allocations: 4 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.9713, allocations: 79.27 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/0.9713, allocations: 75.28 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.444e-05/0.9714, allocations: 33.64 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.9714, allocations: 83.22 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.9715, allocations: 75.28 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.324e-05/0.9715, allocations: 150.6 kB / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.579e-05/0.9716, allocations: 88.28 kB / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.856e-05/0.9716, allocations: 150.6 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.9717, allocations: 83.2 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.9717, allocations: 75.28 kB / 1.023 GB, free: 468 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.9719, allocations: 263.1 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.9719, allocations: 105 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.062e-05/0.972, allocations: 108 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.796e-05/0.9721, allocations: 176.6 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/0.9722, allocations: 192.2 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.114e-05/0.9722, allocations: 176.3 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.9725, allocations: 412.2 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/0.9726, allocations: 113 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.9726, allocations: 104.9 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.9727, allocations: 184.1 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/0.9728, allocations: 176.3 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-05/0.9728, allocations: 184.2 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.902e-05/0.9729, allocations: 180.3 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.9731, allocations: 311.8 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.9732, allocations: 178.1 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/0.9733, allocations: 184.2 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.9734, allocations: 105 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.9735, allocations: 184.1 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.9736, allocations: 104.9 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.9736, allocations: 79.28 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9736, allocations: 0 / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002389/0.9739, allocations: 0 / 1.026 GB, free: 12.81 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.974, allocations: 174.5 kB / 1.026 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.875e-05/0.9741, allocations: 8.578 kB / 1.026 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9741, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.9741, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.9744, allocations: 0.5296 MB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.9746, allocations: 120.8 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.9749, allocations: 0.6809 MB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.338e-05/0.9749, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.9749, allocations: 7.438 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.975, allocations: 3.938 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.001859/0.9768, allocations: 173.2 kB / 1.028 GB, free: 11.08 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches