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.Limiter.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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 184.9 kB / 316.3 MB, free: 3.254 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.647/1.647, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009672/0.0009671, allocations: 92.72 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.383e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2329, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8029/1.036, allocations: 131.6 MB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.036, allocations: 67.23 kB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002155/1.038, allocations: 0.7892 MB / 1.015 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/1.038, allocations: 3.938 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.718e-06/1.038, allocations: 0 / 1.015 GB, free: 5.402 MB / 0.6355 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.0004043/1.039, allocations: 350.2 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.039, allocations: 12.03 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/1.039, allocations: 0 / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/1.039, allocations: 167 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/1.039, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/1.039, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.332e-05/1.039, allocations: 15.88 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/1.039, allocations: 41.62 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.039, allocations: 8.734 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/1.039, allocations: 0 / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.039, allocations: 0 / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/1.04, allocations: 265 kB / 1.015 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/1.04, allocations: 26.27 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/1.04, allocations: 16.61 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/1.04, allocations: 4 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/1.04, allocations: 33.3 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/1.04, allocations: 3.938 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/1.04, allocations: 49.19 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/1.04, allocations: 55.34 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/1.04, allocations: 89.88 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/1.04, allocations: 29.73 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/1.04, allocations: 92.06 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/1.04, allocations: 3.906 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/1.04, allocations: 0 / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.04, allocations: 318.7 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/1.04, allocations: 4 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/1.041, allocations: 21.66 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.464e-05/1.041, allocations: 16.02 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.041, allocations: 0 / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.786e-05/1.041, allocations: 41.2 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/1.041, allocations: 92.94 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.041, allocations: 0 / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.041, allocations: 0 / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/1.041, allocations: 28 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.041, allocations: 3.938 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/1.041, allocations: 19.92 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/1.041, allocations: 4.203 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/1.041, allocations: 4 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.382e-05/1.041, allocations: 11.88 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.041, allocations: 4 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-06/1.041, allocations: 7.969 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/1.041, allocations: 11.98 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/1.041, allocations: 4 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/1.041, allocations: 11.98 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-06/1.041, allocations: 0 / 1.016 GB, free: 3.434 MB / 0.6355 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.946e-05/1.041, allocations: 103 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/1.041, allocations: 15.86 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/1.041, allocations: 7.922 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/1.041, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.041, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.041, allocations: 3.984 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/1.041, allocations: 142 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.041, allocations: 0 / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/1.042, allocations: 27.66 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.042, allocations: 4 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/1.042, allocations: 0 / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.042, allocations: 3.953 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.042, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/1.042, allocations: 135.4 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/1.042, allocations: 89 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/1.042, allocations: 0 / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/1.042, allocations: 20.02 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/1.042, allocations: 3.953 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/1.042, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.4e-05/1.042, allocations: 83.09 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.042, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002543/1.042, allocations: 11.98 kB / 1.017 GB, free: 2.73 MB / 0.6355 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.0001492/1.042, allocations: 99.25 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001088/1.043, allocations: 31.62 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/1.043, allocations: 0 / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/1.043, allocations: 11.88 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/1.043, allocations: 0 / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/1.043, allocations: 82.2 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/1.043, allocations: 0.6848 MB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.562e-05/1.043, allocations: 3.984 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/1.043, allocations: 15.25 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.043, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.002444/1.046, allocations: 0.5012 MB / 1.018 GB, free: 1.281 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches