Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009759/0.0009759, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.481/1.481, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 95.84 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.514e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.302, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.393, allocations: 148.1 MB / 1.351 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.393, allocations: 67.94 kB / 1.351 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004457/1.397, allocations: 1.389 MB / 1.352 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.397, allocations: 0 / 1.352 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.397, allocations: 1.281 kB / 1.352 GB, free: 33.94 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004473/1.398, allocations: 365.2 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.398, allocations: 10.39 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/1.398, allocations: 6.5 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.398, allocations: 174.4 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.398, allocations: 1.281 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/1.398, allocations: 2.031 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.874e-05/1.398, allocations: 17.66 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.256e-05/1.398, allocations: 46.67 kB / 1.353 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.398, allocations: 0 / 1.353 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.398, allocations: 8.594 kB / 1.353 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.398, allocations: 1.25 kB / 1.353 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/1.399, allocations: 282.4 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.122e-05/1.399, allocations: 39.09 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/1.399, allocations: 17.8 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/1.399, allocations: 1.219 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/1.399, allocations: 32.5 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.399, allocations: 0 / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001721/1.399, allocations: 48.25 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/1.399, allocations: 51.41 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.399, allocations: 102.3 kB / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.399, allocations: 29.64 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/1.4, allocations: 87.2 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/1.4, allocations: 21.45 kB / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/1.4, allocations: 0 / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.4, allocations: 318.1 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/1.4, allocations: 8.344 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/1.4, allocations: 6.875 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/1.4, allocations: 14.2 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.4, allocations: 0 / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.856e-05/1.4, allocations: 49.53 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.4, allocations: 5.031 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.4, allocations: 0 / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.4, allocations: 0 / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/1.4, allocations: 20.84 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.4, allocations: 2.141 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/1.4, allocations: 20.44 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/1.4, allocations: 0 / 1.354 GB, free: 32.34 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 (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.887e-05/1.4, allocations: 106.8 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/1.4, allocations: 10.41 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/1.401, allocations: 9.547 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/1.401, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.401, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.401, allocations: 6.062 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/1.401, allocations: 147.3 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.401, allocations: 0.75 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/1.401, allocations: 20.77 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.401, allocations: 0 / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/1.401, allocations: 1.312 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.401, allocations: 0.6562 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.401, allocations: 0 / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/1.401, allocations: 147.2 kB / 1.354 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/1.401, allocations: 86.91 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/1.401, allocations: 2.797 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/1.401, allocations: 16.48 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/1.401, allocations: 9.406 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/1.401, allocations: 9.266 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.3e-05/1.401, allocations: 92.83 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.401, allocations: 3.938 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002276/1.402, allocations: 6.5 kB / 1.354 GB, free: 31.72 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 (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.0002287/1.402, allocations: 99.12 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001283/1.402, allocations: 23.53 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.402, allocations: 0 / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/1.402, allocations: 11.59 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/1.402, allocations: 11.12 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/1.403, allocations: 67.34 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/1.403, allocations: 0.6827 MB / 1.355 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.37e-05/1.403, allocations: 4.453 kB / 1.355 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/1.403, allocations: 7.438 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.403, allocations: 3.938 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.003343/1.407, allocations: 0.5238 MB / 1.356 GB, free: 30.81 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches