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.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001344/0.001343, allocations: 169.2 kB / 498.1 MB, free: 5.746 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.645/1.645, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.000894/0.0008938, allocations: 87.86 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003786, allocations: 10.62 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3186, allocations: 142.4 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.5137, allocations: 148.3 MB / 1.368 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.514, allocations: 67.95 kB / 1.368 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004821/0.5145, allocations: 372.8 kB / 1.368 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5145, allocations: 4 kB / 1.368 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.5145, allocations: 4.062 kB / 1.368 GB, free: 4.617 MB / 0.8698 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.0002529/0.5148, allocations: 303.4 kB / 1.368 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5148, allocations: 8.094 kB / 1.368 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.5149, allocations: 7.938 kB / 1.368 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.515, allocations: 174.9 kB / 1.369 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.515, allocations: 0 / 1.369 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.515, allocations: 0 / 1.369 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.5151, allocations: 33.7 kB / 1.369 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5152, allocations: 0 / 1.369 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.5152, allocations: 4 kB / 1.369 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5152, allocations: 0 / 1.369 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.5152, allocations: 0 / 1.369 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.5156, allocations: 383.5 kB / 1.369 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.5157, allocations: 175 kB / 1.369 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.5158, allocations: 75.28 kB / 1.369 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.5158, allocations: 109.8 kB / 1.369 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.5158, allocations: 0 / 1.369 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.003e-05/0.5159, allocations: 29.7 kB / 1.369 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.516, allocations: 138.6 kB / 1.37 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.516, allocations: 93 kB / 1.37 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5161, allocations: 25.7 kB / 1.37 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.5161, allocations: 80.14 kB / 1.37 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.5161, allocations: 0 / 1.37 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-07/0.5161, allocations: 0 / 1.37 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5162, allocations: 314.8 kB / 1.37 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.5163, allocations: 0 / 1.37 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-06/0.5163, allocations: 0 / 1.37 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.5163, allocations: 75.28 kB / 1.37 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-05/0.5163, allocations: 79.41 kB / 1.37 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.901e-05/0.5164, allocations: 37.61 kB / 1.37 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.5165, allocations: 83.27 kB / 1.37 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.095e-05/0.5165, allocations: 83.22 kB / 1.37 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.761e-05/0.5166, allocations: 150.6 kB / 1.371 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.5166, allocations: 79.22 kB / 1.371 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.055e-05/0.5167, allocations: 158.6 kB / 1.371 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.271e-05/0.5168, allocations: 79.28 kB / 1.371 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.5168, allocations: 79.22 kB / 1.371 GB, free: 1.598 MB / 0.8698 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.0001082/0.5169, allocations: 264.4 kB / 1.371 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.517, allocations: 105 kB / 1.371 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.5171, allocations: 115.8 kB / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.895e-05/0.5171, allocations: 180.3 kB / 1.372 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.749e-05/0.5172, allocations: 180.3 kB / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-05/0.5173, allocations: 180.2 kB / 1.372 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.5175, allocations: 409.2 kB / 1.372 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-05/0.5176, allocations: 104.9 kB / 1.372 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.5176, allocations: 108.9 kB / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.296e-05/0.5177, allocations: 188.2 kB / 1.373 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.5178, allocations: 180.3 kB / 1.373 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.53e-05/0.5178, allocations: 176.3 kB / 1.373 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.825e-05/0.5179, allocations: 180.2 kB / 1.373 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.5181, allocations: 320.1 kB / 1.373 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.5181, allocations: 186 kB / 1.374 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.5182, allocations: 180.3 kB / 1.374 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.5183, allocations: 104.9 kB / 1.374 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.5184, allocations: 180.2 kB / 1.374 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.5184, allocations: 112.9 kB / 1.374 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.5185, allocations: 79.28 kB / 1.374 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5185, allocations: 0 / 1.374 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002542/0.5187, allocations: 0 / 1.374 GB, free: 13.91 MB / 0.8855 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.0002078/0.519, allocations: 178.3 kB / 1.374 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.806e-05/0.519, allocations: 0 / 1.374 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.519, allocations: 0 / 1.374 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.519, allocations: 4.094 kB / 1.374 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.5194, allocations: 0.5224 MB / 1.375 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.5197, allocations: 158 kB / 1.375 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.52, allocations: 0.6692 MB / 1.376 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.997e-05/0.5201, allocations: 0 / 1.376 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.5201, allocations: 15.44 kB / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.5201, allocations: 0 / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.001887/0.522, allocations: 145.2 kB / 1.376 GB, free: 12.16 MB / 0.8855 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