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.467/1.467, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001083, allocations: 178.9 kB / 326.5 MB, free: 2.238 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.738/1.738, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008465/0.0008466, allocations: 94.08 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004909, allocations: 13.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 106.3 MB / 0.9001 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.4317, allocations: 130.8 MB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.432, allocations: 71.95 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005085/0.4325, allocations: 376.9 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4326, allocations: 3.938 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4326, allocations: 7.938 kB / 1.028 GB, free: 12.95 MB / 0.6823 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.0002906/0.4329, allocations: 311.3 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4329, allocations: 12.09 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.433, allocations: 3.906 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.4331, allocations: 163 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4331, allocations: 0 / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.4332, allocations: 0 / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.665e-05/0.4333, allocations: 29.7 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4333, allocations: 4 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4333, allocations: 0 / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4333, allocations: 0 / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.4334, allocations: 4 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.4338, allocations: 387.4 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.434, allocations: 165.1 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.434, allocations: 79.28 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.4341, allocations: 109.9 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.4341, allocations: 0 / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001049/0.4342, allocations: 33.62 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.4343, allocations: 126.7 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4344, allocations: 93 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4344, allocations: 29.83 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.4345, allocations: 80.14 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.4345, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-07/0.4345, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4347, allocations: 315.6 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-06/0.4347, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.4347, allocations: 7.938 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.42e-05/0.4348, allocations: 75.28 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.826e-05/0.4348, allocations: 79.28 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.931e-05/0.4349, allocations: 33.62 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/0.435, allocations: 83.28 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/0.435, allocations: 75.28 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.435e-05/0.4351, allocations: 160 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.4352, allocations: 79.22 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.178e-05/0.4352, allocations: 154.6 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.4353, allocations: 83.22 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.4354, allocations: 75.28 kB / 1.031 GB, free: 9.941 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.4356, allocations: 264.3 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.4357, allocations: 109 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.4358, allocations: 112 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/0.4359, allocations: 180.3 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001211/0.436, allocations: 180.2 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.114e-05/0.4361, allocations: 188.2 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.4364, allocations: 401.2 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.126e-05/0.4365, allocations: 104.9 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.4365, allocations: 109 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.4367, allocations: 184.2 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.4368, allocations: 176.3 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001077/0.4369, allocations: 177.1 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-05/0.437, allocations: 188.2 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.4372, allocations: 311.7 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4373, allocations: 182.1 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.4375, allocations: 184.2 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.4376, allocations: 105.4 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.4377, allocations: 184.3 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.4378, allocations: 104.9 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.4378, allocations: 79.28 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4378, allocations: 4 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002866/0.4381, allocations: 0 / 1.034 GB, free: 6.266 MB / 0.6823 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 (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.0002242/0.4384, allocations: 170.5 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.51e-05/0.4384, allocations: 4.047 kB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4384, allocations: 3.938 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.4384, allocations: 4.125 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.4389, allocations: 0.534 MB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.4392, allocations: 146 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4395, allocations: 0.6731 MB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.203e-05/0.4395, allocations: 4 kB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.4395, allocations: 11.44 kB / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of SimCode: time 3.5e-07/0.4395, allocations: 0 / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of Templates: time 0.002176/0.4417, allocations: 152.2 kB / 1.036 GB, free: 4.504 MB / 0.6823 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