Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.9 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000888/0.0008882, allocations: 91.95 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.314e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3096, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.424, allocations: 148.3 MB / 1.357 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/1.424, allocations: 68.02 kB / 1.357 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001066/1.425, allocations: 374.4 kB / 1.358 GB, free: 34.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.295e-06/1.425, allocations: 1.125 kB / 1.358 GB, free: 34.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.184e-06/1.425, allocations: 0 / 1.358 GB, free: 34.63 MB / 0.8386 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.0001749/1.425, allocations: 300.7 kB / 1.358 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.425, allocations: 12.05 kB / 1.358 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/1.425, allocations: 0.8125 kB / 1.358 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.876e-05/1.426, allocations: 168.5 kB / 1.358 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/1.426, allocations: 0 / 1.358 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/1.426, allocations: 3.938 kB / 1.358 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/1.426, allocations: 34.38 kB / 1.358 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/1.426, allocations: 0 / 1.358 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/1.426, allocations: 0 / 1.358 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/1.426, allocations: 0 / 1.358 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/1.426, allocations: 4.531 kB / 1.358 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/1.426, allocations: 380.9 kB / 1.358 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.962e-05/1.426, allocations: 181 kB / 1.359 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/1.426, allocations: 80.14 kB / 1.359 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/1.426, allocations: 79.22 kB / 1.359 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.426, allocations: 110.4 kB / 1.359 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.426, allocations: 0 / 1.359 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.316e-05/1.426, allocations: 30.2 kB / 1.359 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/1.426, allocations: 135.3 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/1.426, allocations: 89.45 kB / 1.359 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/1.426, allocations: 29.52 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/1.426, allocations: 80.14 kB / 1.359 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-06/1.426, allocations: 0 / 1.359 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/1.426, allocations: 0 / 1.359 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/1.427, allocations: 315.5 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-06/1.427, allocations: 0 / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-06/1.427, allocations: 128 / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/1.427, allocations: 81.67 kB / 1.36 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/1.427, allocations: 75.28 kB / 1.36 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.957e-05/1.427, allocations: 30.38 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/1.427, allocations: 79.16 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.427, allocations: 87.17 kB / 1.36 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.71e-05/1.427, allocations: 151.4 kB / 1.36 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.838e-05/1.427, allocations: 79.22 kB / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.209e-05/1.427, allocations: 156.9 kB / 1.36 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/1.427, allocations: 79.92 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/1.427, allocations: 79.22 kB / 1.36 GB, free: 31.62 MB / 0.8386 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.000105/1.427, allocations: 259.5 kB / 1.361 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/1.427, allocations: 106.2 kB / 1.361 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/1.427, allocations: 117 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-05/1.427, allocations: 177.3 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-05/1.427, allocations: 180.9 kB / 1.361 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/1.427, allocations: 189.5 kB / 1.361 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/1.428, allocations: 399.6 kB / 1.362 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/1.428, allocations: 109.7 kB / 1.362 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/1.428, allocations: 105.6 kB / 1.362 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.698e-05/1.428, allocations: 180.4 kB / 1.362 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/1.428, allocations: 183 kB / 1.362 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.604e-05/1.428, allocations: 177.5 kB / 1.363 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-05/1.428, allocations: 184.7 kB / 1.363 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/1.428, allocations: 310.6 kB / 1.363 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/1.428, allocations: 187.4 kB / 1.363 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/1.428, allocations: 177.1 kB / 1.363 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/1.428, allocations: 105.7 kB / 1.363 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/1.429, allocations: 192.8 kB / 1.364 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.429, allocations: 104.9 kB / 1.364 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.398e-05/1.429, allocations: 83.73 kB / 1.364 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.429, allocations: 0 / 1.364 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002985/1.429, allocations: 0 / 1.364 GB, free: 28.02 MB / 0.8386 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.000167/1.429, allocations: 173 kB / 1.364 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.141e-05/1.429, allocations: 4.578 kB / 1.364 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/1.429, allocations: 7.969 kB / 1.364 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-06/1.429, allocations: 0 / 1.364 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/1.429, allocations: 0.522 MB / 1.364 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/1.43, allocations: 121.6 kB / 1.365 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/1.43, allocations: 0.6755 MB / 1.365 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.818e-06/1.43, allocations: 4.578 kB / 1.365 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/1.43, allocations: 7.438 kB / 1.365 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.43, allocations: 0 / 1.365 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.001743/1.432, allocations: 169.3 kB / 1.365 GB, free: 26.43 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches