Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.426/2.426, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001011/0.001011, allocations: 176.8 kB / 496.1 MB, free: 12.89 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.534/1.534, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0008821/0.000882, allocations: 99.94 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.904e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3362, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.486, allocations: 149.6 MB / 1.365 GB, free: 4.438 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/1.486, allocations: 68.19 kB / 1.365 GB, free: 4.398 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002104/1.488, allocations: 0.7777 MB / 1.366 GB, free: 3.684 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.465e-06/1.488, allocations: 0 / 1.366 GB, free: 3.684 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.276e-05/1.488, allocations: 0 / 1.366 GB, free: 3.684 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004209/1.489, allocations: 349.2 kB / 1.366 GB, free: 3.301 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.489, allocations: 12.03 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/1.489, allocations: 0.625 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/1.489, allocations: 174.9 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/1.489, allocations: 0 / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/1.489, allocations: 0 / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/1.489, allocations: 52.11 kB / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/1.489, allocations: 0 / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/1.489, allocations: 0 / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.489, allocations: 4 kB / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/1.489, allocations: 14.5 kB / 1.366 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/1.49, allocations: 279.3 kB / 1.367 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/1.49, allocations: 33.33 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/1.49, allocations: 12.23 kB / 1.367 GB, free: 2.656 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/1.49, allocations: 0 / 1.367 GB, free: 2.656 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/1.49, allocations: 30.56 kB / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 2.364e-06/1.49, allocations: 0 / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001728/1.49, allocations: 49.44 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/1.49, allocations: 55.44 kB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/1.49, allocations: 107.8 kB / 1.367 GB, free: 2.395 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.49, allocations: 25.7 kB / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/1.49, allocations: 84.14 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/1.49, allocations: 7.406 kB / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/1.49, allocations: 0 / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.491, allocations: 314.8 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/1.491, allocations: 9.281 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/1.491, allocations: 25.34 kB / 1.367 GB, free: 1.926 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/1.491, allocations: 7.312 kB / 1.367 GB, free: 1.922 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.491, allocations: 0 / 1.367 GB, free: 1.922 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.137e-05/1.491, allocations: 48.97 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/1.491, allocations: 93.69 kB / 1.367 GB, free: 1.777 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.491, allocations: 4.125 kB / 1.367 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.491, allocations: 0 / 1.367 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/1.491, allocations: 27.88 kB / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.491, allocations: 3.75 kB / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/1.491, allocations: 19.92 kB / 1.367 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/1.491, allocations: 3.984 kB / 1.367 GB, free: 1.723 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/1.491, allocations: 8 kB / 1.367 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 4.064e-05/1.491, allocations: 14.98 kB / 1.367 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.01e-07/1.491, allocations: 0 / 1.367 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/1.491, allocations: 4 kB / 1.367 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/1.491, allocations: 11.98 kB / 1.367 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/1.491, allocations: 0 / 1.367 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/1.491, allocations: 11.94 kB / 1.367 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/1.491, allocations: 8.016 kB / 1.367 GB, free: 1.668 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 (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.713e-05/1.491, allocations: 108.3 kB / 1.368 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/1.491, allocations: 4 kB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/1.491, allocations: 3.656 kB / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.491, allocations: 0 / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.491, allocations: 0 / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.491, allocations: 3.938 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/1.492, allocations: 172.6 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.492, allocations: 0 / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/1.492, allocations: 19.98 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.492, allocations: 0 / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/1.492, allocations: 4 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.492, allocations: 0.625 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.492, allocations: 0 / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/1.492, allocations: 139 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/1.492, allocations: 89 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/1.492, allocations: 7.984 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/1.492, allocations: 15.92 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/1.492, allocations: 4 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/1.492, allocations: 0 / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.737e-05/1.492, allocations: 83.97 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.492, allocations: 0 / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002407/1.492, allocations: 12 kB / 1.368 GB, free: 0.9453 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 (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.0001628/1.493, allocations: 107.2 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000114/1.493, allocations: 26.5 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.493, allocations: 0 / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/1.493, allocations: 11.25 kB / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/1.493, allocations: 1.031 kB / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/1.493, allocations: 88.16 kB / 1.368 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.494, allocations: 0.6809 MB / 1.369 GB, free: 16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.288e-05/1.494, allocations: 4 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/1.494, allocations: 11.42 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.494, allocations: 0 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.002493/1.496, allocations: 0.5491 MB / 1.37 GB, free: 15.45 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches