Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 99.55 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.001245/0.001245, allocations: 177.3 kB / 15.94 MB, free: 228 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.51/1.51, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.635/2.635, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.8441, allocations: 153.6 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0008511/0.845, allocations: 309.2 kB / 1.021 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.807e-05/0.845, allocations: 11.88 kB / 1.021 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.8451, allocations: 0 / 1.021 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.8451, allocations: 0 / 1.021 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.762e-05/0.8451, allocations: 4 kB / 1.021 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.888e-05/0.8452, allocations: 0 / 1.021 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.8452, allocations: 0 / 1.021 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.8453, allocations: 0 / 1.021 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.8453, allocations: 4 kB / 1.021 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.103e-05/0.8453, allocations: 3.984 kB / 1.021 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.8454, allocations: 0 / 1.021 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-06/0.8454, allocations: 4 kB / 1.021 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.8454, allocations: 0 / 1.021 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.8454, allocations: 25.7 kB / 1.021 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.345e-05/0.8455, allocations: 0 / 1.021 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.8455, allocations: 0 / 1.021 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8455, allocations: 3.938 kB / 1.021 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8455, allocations: 0 / 1.021 GB, free: 0.7734 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.0002966/0.8458, allocations: 323.4 kB / 1.021 GB, free: 420 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.8459, allocations: 11.98 kB / 1.022 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.8459, allocations: 0 / 1.022 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.846, allocations: 167 kB / 1.022 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.8461, allocations: 0 / 1.022 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.8461, allocations: 4 kB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.8462, allocations: 29.66 kB / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.8462, allocations: 0 / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.8462, allocations: 0 / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.8462, allocations: 4 kB / 1.022 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.8462, allocations: 4 kB / 1.022 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.8466, allocations: 383.4 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.202e-05/0.8467, allocations: 169.2 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.8467, allocations: 75.28 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.8468, allocations: 113.8 kB / 1.022 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8468, allocations: 0 / 1.022 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.403e-05/0.8469, allocations: 33.62 kB / 1.022 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.8469, allocations: 126.7 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.847, allocations: 93.86 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.8471, allocations: 29.64 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.8471, allocations: 80.27 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.8471, allocations: 8 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.8471, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8472, allocations: 314.8 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.8472, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-06/0.8472, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.8473, allocations: 75.28 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/0.8473, allocations: 75.28 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.884e-05/0.8474, allocations: 41.58 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.8474, allocations: 83.28 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.8475, allocations: 75.28 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.771e-05/0.8475, allocations: 154.6 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.508e-05/0.8476, allocations: 79.22 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-05/0.8476, allocations: 150.6 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.8477, allocations: 83.22 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.8477, allocations: 87.31 kB / 1.024 GB, free: 13.73 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.0001084/0.8478, allocations: 260.4 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.8479, allocations: 104.9 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.848, allocations: 108 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.983e-05/0.848, allocations: 184.3 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.456e-05/0.8481, allocations: 188.1 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/0.8482, allocations: 180.2 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.8484, allocations: 397.2 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.091e-05/0.8485, allocations: 104.9 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.8485, allocations: 109 kB / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.811e-05/0.8486, allocations: 184.2 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.8486, allocations: 188.3 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.436e-05/0.8487, allocations: 176.3 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.202e-05/0.8488, allocations: 180.2 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.8489, allocations: 307.8 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.849, allocations: 182.5 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.8491, allocations: 188.2 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.8492, allocations: 108.9 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.8492, allocations: 184.3 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.8493, allocations: 104.9 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.8493, allocations: 83.22 kB / 1.027 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8493, allocations: 4.094 kB / 1.027 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002806/0.8496, allocations: 0 / 1.027 GB, free: 10.06 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.0001497/0.8498, allocations: 174.5 kB / 1.027 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.938e-05/0.8498, allocations: 0 / 1.027 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8498, allocations: 0 / 1.027 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.8498, allocations: 0 / 1.027 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.8501, allocations: 0.5302 MB / 1.028 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.8504, allocations: 148 kB / 1.028 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.8506, allocations: 0.677 MB / 1.029 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.937e-06/0.8506, allocations: 0 / 1.029 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.8506, allocations: 7.438 kB / 1.029 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8506, allocations: 0 / 1.029 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.001963/0.8526, allocations: 156.2 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches