Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.21/2.21, 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.001097/0.001097, allocations: 192.8 kB / 487.4 MB, free: 5.023 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.598/1.598, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 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.0009153/0.0009154, allocations: 99.84 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.161e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2986, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.344, allocations: 148.1 MB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/1.344, allocations: 69.91 kB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002571/1.347, allocations: 0.7675 MB / 1.351 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/1.347, allocations: 4 kB / 1.351 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.054e-06/1.347, allocations: 3.812 kB / 1.351 GB, free: 33.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003467/1.347, allocations: 344.7 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.347, allocations: 12.06 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/1.347, allocations: 5.188 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/1.347, allocations: 175.7 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/1.348, allocations: 0 / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/1.348, allocations: 0 / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.928e-05/1.348, allocations: 21.09 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.616e-05/1.348, allocations: 40.31 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/1.348, allocations: 0 / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.348, allocations: 3.812 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/1.348, allocations: 0 / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/1.348, allocations: 259.7 kB / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/1.348, allocations: 29.47 kB / 1.352 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/1.348, allocations: 12.89 kB / 1.352 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/1.348, allocations: 3.938 kB / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/1.348, allocations: 38.28 kB / 1.352 GB, free: 33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/1.348, allocations: 4 kB / 1.352 GB, free: 33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000147/1.348, allocations: 39.19 kB / 1.352 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/1.348, allocations: 55.31 kB / 1.352 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/1.349, allocations: 91.61 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/1.349, allocations: 27.05 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/1.349, allocations: 86.66 kB / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/1.349, allocations: 4.422 kB / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.349, allocations: 1.312 kB / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.349, allocations: 325.3 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/1.349, allocations: 5.469 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/1.349, allocations: 23.42 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/1.349, allocations: 7.625 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.349, allocations: 0 / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.403e-05/1.349, allocations: 50.28 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/1.349, allocations: 96.23 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/1.349, allocations: 0.5 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/1.349, allocations: 0 / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/1.349, allocations: 17.77 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.349, allocations: 1.969 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.049e-05/1.349, allocations: 27.52 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/1.349, allocations: 4.562 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/1.349, allocations: 3.969 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.749e-05/1.349, allocations: 18.97 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.51e-07/1.349, allocations: 1.422 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-06/1.349, allocations: 0 / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/1.349, allocations: 12.19 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.42e-07/1.349, allocations: 0 / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/1.35, allocations: 16.52 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-06/1.35, allocations: 0 / 1.353 GB, free: 32.21 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 (2): * Single equations (assignments): 2 * 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 6.167e-05/1.35, allocations: 104.1 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/1.35, allocations: 5.234 kB / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/1.35, allocations: 6.047 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.35, allocations: 0.6562 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.35, allocations: 0 / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/1.35, allocations: 1.344 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/1.35, allocations: 149.5 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.35, allocations: 3.938 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/1.35, allocations: 17.91 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.35, allocations: 1.312 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.35, allocations: 2.531 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.35, allocations: 7.891 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.35, allocations: 1.281 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/1.35, allocations: 149.7 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/1.35, allocations: 79.5 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/1.35, allocations: 1.312 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.35, allocations: 18.7 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/1.35, allocations: 5.844 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.35, allocations: 0.5625 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.556e-05/1.35, allocations: 88.7 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.35, allocations: 0 / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002434/1.351, allocations: 8.266 kB / 1.354 GB, free: 31.6 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 (2): * Single equations (assignments): 2 * 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.0001292/1.351, allocations: 100 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.959e-05/1.351, allocations: 27.19 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.351, allocations: 0 / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/1.351, allocations: 11.03 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/1.351, allocations: 7.719 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/1.351, allocations: 75.62 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/1.351, allocations: 0.6799 MB / 1.355 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.329e-05/1.352, allocations: 3.953 kB / 1.355 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/1.352, allocations: 9.266 kB / 1.355 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.352, allocations: 4 kB / 1.355 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.002199/1.354, allocations: 0.5038 MB / 1.355 GB, free: 30.68 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches