Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009775, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001005, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 436.5 MB / 0.7104 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003596, allocations: 8 kB / 0.8708 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8393, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007756/0.8401, allocations: 284.5 kB / 1.021 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.169e-05/0.8401, allocations: 0 / 1.021 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.8402, allocations: 4 kB / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.8402, allocations: 0 / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.531e-05/0.8402, allocations: 0 / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.021e-05/0.8402, allocations: 0 / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.378e-05/0.8403, allocations: 0 / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.875e-05/0.8404, allocations: 4 kB / 1.021 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.8404, allocations: 0 / 1.021 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.8404, allocations: 11.94 kB / 1.021 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.8404, allocations: 0 / 1.021 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.777e-06/0.8404, allocations: 0 / 1.021 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.8405, allocations: 3.938 kB / 1.021 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.8405, allocations: 25.7 kB / 1.021 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.025e-05/0.8405, allocations: 0 / 1.021 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8405, allocations: 0 / 1.021 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.877e-06/0.8406, allocations: 3.984 kB / 1.021 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.8406, allocations: 0 / 1.021 GB, free: 0.7344 MB / 0.7637 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.0003096/0.8409, allocations: 311.4 kB / 1.021 GB, free: 392 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8409, allocations: 11.98 kB / 1.021 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.841, allocations: 0 / 1.021 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.8412, allocations: 163 kB / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.8412, allocations: 4 kB / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.8412, allocations: 0 / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.144e-05/0.8413, allocations: 37.58 kB / 1.022 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.8413, allocations: 0 / 1.022 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.8413, allocations: 4 kB / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.8413, allocations: 0 / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.8414, allocations: 11.94 kB / 1.022 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.8417, allocations: 383.5 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.383e-05/0.8418, allocations: 165.1 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.8418, allocations: 79.28 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.8419, allocations: 105.8 kB / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8419, allocations: 0 / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.935e-05/0.8419, allocations: 29.64 kB / 1.022 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.842, allocations: 130.7 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.8421, allocations: 93.86 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.8421, allocations: 29.69 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.8422, allocations: 88.27 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.8422, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.8422, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8423, allocations: 310.8 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-06/0.8423, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-06/0.8423, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.8424, allocations: 75.28 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/0.8424, allocations: 79.22 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.617e-05/0.8425, allocations: 41.59 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.8425, allocations: 79.28 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.8425, allocations: 83.28 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.985e-05/0.8426, allocations: 158.5 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.762e-05/0.8426, allocations: 79.27 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-05/0.8427, allocations: 150.6 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.8428, allocations: 79.22 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.8428, allocations: 87.31 kB / 1.024 GB, free: 13.7 MB / 0.7794 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.0001235/0.8429, allocations: 260.4 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.843, allocations: 112.9 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.8431, allocations: 112.1 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/0.8431, allocations: 176.3 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-05/0.8432, allocations: 184.2 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.711e-05/0.8433, allocations: 176.3 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.8435, allocations: 409.2 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/0.8435, allocations: 101 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.8436, allocations: 101 kB / 1.025 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.962e-05/0.8437, allocations: 192.2 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.8438, allocations: 176.3 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.105e-05/0.8438, allocations: 188.2 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-05/0.8439, allocations: 184.2 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.8441, allocations: 299.8 kB / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.8442, allocations: 190.5 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.8443, allocations: 192.2 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.8443, allocations: 101 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.8444, allocations: 184.2 kB / 1.027 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.8445, allocations: 105 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.8445, allocations: 83.27 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8445, allocations: 0 / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002434/0.8448, allocations: 0 / 1.027 GB, free: 10.02 MB / 0.7794 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.0002026/0.845, allocations: 178.5 kB / 1.027 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.298e-05/0.845, allocations: 0 / 1.027 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8451, allocations: 0 / 1.027 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.8451, allocations: 3.938 kB / 1.027 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.8454, allocations: 0.5201 MB / 1.028 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.8457, allocations: 152 kB / 1.028 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.8461, allocations: 0.677 MB / 1.029 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.8461, allocations: 0 / 1.029 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.8462, allocations: 7.438 kB / 1.029 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.8462, allocations: 0 / 1.029 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of Templates: time 0.002107/0.8483, allocations: 156.2 kB / 1.029 GB, free: 8.273 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches