Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.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.448/1.448, allocations: 249.5 MB / 257 MB, free: 6.898 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.001105/0.001105, allocations: 191 kB / 316.3 MB, free: 3.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0007983/0.0007983, allocations: 94.22 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.475e-05/1.477e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.212, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7443/0.9563, allocations: 131 MB / 1.013 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.9566, allocations: 70.52 kB / 1.013 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005336/0.9571, allocations: 363.6 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9571, allocations: 0 / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.9572, allocations: 0 / 1.014 GB, free: 6.172 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.0002774/0.9574, allocations: 315.1 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.9575, allocations: 8.031 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.9575, allocations: 0 / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.9577, allocations: 174.3 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.9577, allocations: 0 / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.9577, allocations: 0 / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.549e-05/0.9578, allocations: 2.734 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.722e-05/0.9579, allocations: 25.7 kB / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.9579, allocations: 4 kB / 1.014 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.9579, allocations: 0 / 1.014 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9579, allocations: 3.984 kB / 1.014 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.9582, allocations: 359.9 kB / 1.014 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.638e-05/0.9583, allocations: 173.1 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.9584, allocations: 80.14 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.9584, allocations: 75.28 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.9585, allocations: 113.8 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.9585, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.127e-05/0.9586, allocations: 25.7 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.9586, allocations: 55.41 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.9587, allocations: 88.81 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.9587, allocations: 25.7 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.9588, allocations: 80.14 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.9588, allocations: 3.938 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.9588, allocations: 4.125 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9589, allocations: 317.3 kB / 1.015 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.959, allocations: 0 / 1.015 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-06/0.959, allocations: 4 kB / 1.015 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.959, allocations: 75.28 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-05/0.959, allocations: 79.22 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.584e-05/0.9591, allocations: 29.69 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.9591, allocations: 83.28 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.344e-05/0.9592, allocations: 79.28 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.433e-05/0.9593, allocations: 155.2 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.909e-05/0.9593, allocations: 79.16 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.034e-05/0.9594, allocations: 150.6 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.9595, allocations: 83.22 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.9595, allocations: 75.28 kB / 1.016 GB, free: 3.219 MB / 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.0001196/0.9596, allocations: 263.5 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.9597, allocations: 101 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.9598, allocations: 112.7 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/0.9598, allocations: 180.5 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-05/0.9599, allocations: 177.1 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.308e-05/0.96, allocations: 196 kB / 1.017 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.9602, allocations: 377.8 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.9602, allocations: 104.9 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.9603, allocations: 104.9 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.135e-05/0.9604, allocations: 180.2 kB / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.9604, allocations: 182 kB / 1.018 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.366e-05/0.9605, allocations: 184.2 kB / 1.018 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-05/0.9606, allocations: 180.1 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.9607, allocations: 308.7 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.9608, allocations: 182 kB / 1.019 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.9609, allocations: 180.3 kB / 1.019 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.961, allocations: 108.9 kB / 1.019 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.9611, allocations: 184.1 kB / 1.019 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.9611, allocations: 101 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.9611, allocations: 79.22 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9611, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002503/0.9614, allocations: 4.094 kB / 1.02 GB, free: 15.61 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.0001327/0.9615, allocations: 174.5 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.195e-05/0.9616, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9616, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.9616, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.9619, allocations: 0.5311 MB / 1.02 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.9621, allocations: 123.8 kB / 1.02 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.9624, allocations: 0.6729 MB / 1.021 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.254e-06/0.9624, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-06/0.9624, allocations: 7.438 kB / 1.021 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.853e-06/0.9624, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.001543/0.964, allocations: 155.6 kB / 1.021 GB, free: 13.9 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches