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.393/2.393, allocations: 390.3 MB / 405.3 MB, free: 13.49 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: 174.9 kB / 498.1 MB, free: 5.738 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.561/1.561, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0009524/0.0009522, allocations: 99.89 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 14.09 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.5158, allocations: 148.8 MB / 1.368 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5161, allocations: 71.95 kB / 1.368 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002101/0.5182, allocations: 0.7708 MB / 1.369 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5182, allocations: 0 / 1.369 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5182, allocations: 0 / 1.369 GB, free: 12.43 MB / 0.8698 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.000439/0.5187, allocations: 359.2 kB / 1.369 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5187, allocations: 12.03 kB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.5188, allocations: 7.938 kB / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.5189, allocations: 167 kB / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.5189, allocations: 4 kB / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.5189, allocations: 0 / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.5192, allocations: 80.31 kB / 1.37 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.5192, allocations: 4 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5192, allocations: 4 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5192, allocations: 0 / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.5195, allocations: 75.92 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.52, allocations: 276.8 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.5202, allocations: 78.47 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.5202, allocations: 0 / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.5203, allocations: 34.62 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.835e-06/0.5203, allocations: 4 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000486/0.5208, allocations: 137.7 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.5208, allocations: 55.41 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.5209, allocations: 93 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.5209, allocations: 25.7 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.521, allocations: 92.12 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.521, allocations: 7.938 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.521, allocations: 0 / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5212, allocations: 318.7 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.5213, allocations: 35.97 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.5214, allocations: 53.69 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.5216, allocations: 40.06 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5216, allocations: 0 / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002714/0.5219, allocations: 109.6 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.5219, allocations: 93 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.522, allocations: 0 / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.522, allocations: 0 / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5221, allocations: 19.98 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5221, allocations: 7.984 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.5222, allocations: 15.98 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.5222, allocations: 3.938 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.5222, allocations: 5.25 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001567/0.5224, allocations: 51.95 kB / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.5224, allocations: 3.984 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-06/0.5224, allocations: 0 / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/0.5225, allocations: 11.98 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-06/0.5225, allocations: 0 / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.5225, allocations: 11.98 kB / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-06/0.5225, allocations: 8.031 kB / 1.371 GB, free: 9.945 MB / 0.8698 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 () * Number of clocked 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 0.0001248/0.5227, allocations: 193 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.5227, allocations: 7.906 kB / 1.371 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.5227, allocations: 3.531 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5228, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5228, allocations: 256 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5228, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.523, allocations: 173.6 kB / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.523, allocations: 0 / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.523, allocations: 23.92 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5231, allocations: 0 / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.5231, allocations: 3.984 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5231, allocations: 0 / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5231, allocations: 4 kB / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.5234, allocations: 195.5 kB / 1.372 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.5235, allocations: 81.06 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.5235, allocations: 32 / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.5236, allocations: 19.98 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.5236, allocations: 3.984 kB / 1.372 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.5237, allocations: 0 / 1.372 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.5237, allocations: 87.28 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5237, allocations: 3.938 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002532/0.524, allocations: 15.84 kB / 1.372 GB, free: 9.047 MB / 0.8698 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 () * Number of clocked 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.0001735/0.5241, allocations: 107 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.5245, allocations: 107.9 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5245, allocations: 0 / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.5247, allocations: 40.09 kB / 1.372 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.5249, allocations: 4 kB / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.5253, allocations: 136.9 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.5256, allocations: 0.6888 MB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.5256, allocations: 0 / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.5256, allocations: 11.44 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of SimCode: time 3.9e-07/0.5257, allocations: 0 / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of Templates: time 0.002396/0.5281, allocations: 492.5 kB / 1.374 GB, free: 7.418 MB / 0.8698 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