Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.9 MB / 266.9 MB, free: 11 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.001184/0.001184, allocations: 179 kB / 326.5 MB, free: 2.23 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.917/1.917, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.001052/0.001052, allocations: 87.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005066, allocations: 12.06 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3509, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.5484, allocations: 131.4 MB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.5487, allocations: 71.94 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004223/0.553, allocations: 1.434 MB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.166e-06/0.553, allocations: 4 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.553, allocations: 0 / 1.03 GB, free: 10.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005461/0.5536, allocations: 383.1 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.5537, allocations: 8.031 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.5537, allocations: 4 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.5539, allocations: 167 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.5539, allocations: 4 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.5539, allocations: 4 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.5542, allocations: 85.64 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5543, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.5543, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.5543, allocations: 3.938 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.5546, allocations: 91.86 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.5552, allocations: 304.8 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.5554, allocations: 66.53 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.5554, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.5555, allocations: 34.56 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.5555, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000611/0.5561, allocations: 165.6 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.5562, allocations: 55.39 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5563, allocations: 97 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.5563, allocations: 25.7 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.5564, allocations: 96.06 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.5564, allocations: 7.812 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5564, allocations: 0 / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5566, allocations: 322.8 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.5568, allocations: 43.95 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.5569, allocations: 43.97 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.5571, allocations: 43.95 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5571, allocations: 0 / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003407/0.5574, allocations: 121.6 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5575, allocations: 8 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5575, allocations: 0 / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5575, allocations: 0 / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.5576, allocations: 19.98 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.5576, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.5577, allocations: 23.91 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.5578, allocations: 4.328 kB / 1.032 GB, free: 8.406 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 (3): * Single equations (assignments): 3 * 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 9.371e-05/0.5579, allocations: 117.8 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.5579, allocations: 3.906 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.5579, allocations: 11.91 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.558, allocations: 3.984 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.558, allocations: 0 / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.558, allocations: 0 / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.5582, allocations: 173.6 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5582, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.5583, allocations: 23.98 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5583, allocations: 3.938 kB / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.5583, allocations: 3.938 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5583, allocations: 0 / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5583, allocations: 0 / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.5587, allocations: 224.1 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.5588, allocations: 81.02 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.5588, allocations: 4 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.559, allocations: 15.98 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.559, allocations: 11.98 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.559, allocations: 0 / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.5591, allocations: 79.28 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5591, allocations: 0 / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001997/0.5593, allocations: 12 kB / 1.033 GB, free: 7.555 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 (3): * Single equations (assignments): 3 * 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.0001946/0.5595, allocations: 107.2 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.5599, allocations: 91.86 kB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5599, allocations: 0 / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.56, allocations: 43.97 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.5603, allocations: 19.88 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.5607, allocations: 136.5 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.561, allocations: 0.6809 MB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.561, allocations: 8 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.5611, allocations: 11.42 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/0.5611, allocations: 0 / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of Templates: time 0.002659/0.5637, allocations: 0.56 MB / 1.034 GB, free: 5.844 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches