Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.318/2.318, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001001/0.001001, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009237/0.0009238, allocations: 95.64 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.752e-05/3.755e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3356, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.445, allocations: 149.6 MB / 1.365 GB, free: 4.508 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.446, allocations: 71.48 kB / 1.365 GB, free: 4.469 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003807/1.45, allocations: 1.41 MB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.334e-06/1.45, allocations: 0 / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.45, allocations: 0 / 1.366 GB, free: 3.246 MB / 0.823 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.0004859/1.45, allocations: 361.9 kB / 1.367 GB, free: 2.852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.45, allocations: 8.031 kB / 1.367 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/1.45, allocations: 8.531 kB / 1.367 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/1.45, allocations: 174.9 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/1.45, allocations: 0 / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/1.45, allocations: 4 kB / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.451, allocations: 44.5 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.451, allocations: 0 / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/1.451, allocations: 0 / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.451, allocations: 0 / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/1.451, allocations: 18.94 kB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/1.451, allocations: 316.4 kB / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.892e-05/1.451, allocations: 28.89 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/1.451, allocations: 23.73 kB / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/1.452, allocations: 3.938 kB / 1.367 GB, free: 2.168 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.452, allocations: 30.56 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/1.452, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002107/1.452, allocations: 59.94 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/1.452, allocations: 55.36 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/1.452, allocations: 96.06 kB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/1.452, allocations: 29.14 kB / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/1.452, allocations: 92.12 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/1.452, allocations: 14.89 kB / 1.368 GB, free: 1.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/1.452, allocations: 0 / 1.368 GB, free: 1.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.452, allocations: 314.2 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/1.452, allocations: 11 kB / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/1.452, allocations: 7.125 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/1.452, allocations: 15.36 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.452, allocations: 0 / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.94e-05/1.452, allocations: 56.23 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.453, allocations: 8 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.453, allocations: 0 / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.453, allocations: 4 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/1.453, allocations: 20.84 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.453, allocations: 4 kB / 1.368 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/1.453, allocations: 23.94 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/1.453, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 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 7.409e-05/1.453, allocations: 101 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/1.453, allocations: 7.312 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/1.453, allocations: 8.016 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.453, allocations: 0 / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.453, allocations: 0 / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.453, allocations: 3.062 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/1.453, allocations: 172.2 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.453, allocations: 0 / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/1.453, allocations: 27.17 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.453, allocations: 3.984 kB / 1.368 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/1.453, allocations: 3.938 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.453, allocations: 4 kB / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.453, allocations: 0 / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/1.454, allocations: 150.2 kB / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/1.454, allocations: 81.11 kB / 1.369 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/1.454, allocations: 2.625 kB / 1.369 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.454, allocations: 15.98 kB / 1.369 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/1.454, allocations: 7.984 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/1.454, allocations: 0 / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.804e-05/1.454, allocations: 90.34 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.454, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001918/1.454, allocations: 14.59 kB / 1.369 GB, free: 0.5781 MB / 0.823 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.0002101/1.454, allocations: 99.25 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001084/1.454, allocations: 22.55 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.455, allocations: 3.938 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/1.455, allocations: 18.31 kB / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/1.455, allocations: 7.953 kB / 1.369 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/1.455, allocations: 74.86 kB / 1.369 GB, free: 352 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/1.455, allocations: 0.6848 MB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.518e-05/1.455, allocations: 4 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/1.455, allocations: 7.438 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.456, allocations: 0 / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.002683/1.458, allocations: 0.5764 MB / 1.37 GB, free: 15.07 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches