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.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 188.2 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.5775 GB, free: 20.19 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.000926/0.000926, allocations: 98.05 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 12.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2166/0.4323, allocations: 131.4 MB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.4327, allocations: 71.95 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002889/0.4356, allocations: 0.782 MB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4356, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.4356, allocations: 3.938 kB / 1.029 GB, free: 11.41 MB / 0.6823 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.0005263/0.4362, allocations: 363.2 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4362, allocations: 11.97 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.4363, allocations: 3.906 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4364, allocations: 171 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4364, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.4365, allocations: 4 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.4368, allocations: 73.66 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.4368, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4368, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4369, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.4372, allocations: 75.92 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.4378, allocations: 268.9 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.4381, allocations: 82.47 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4382, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.4382, allocations: 34.56 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.4382, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0007074/0.4389, allocations: 141.7 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.439, allocations: 51.41 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.4391, allocations: 104.9 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4391, allocations: 29.83 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.4392, allocations: 92.06 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.4392, allocations: 3.906 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.4392, allocations: 4 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4394, allocations: 314.8 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.4396, allocations: 39.97 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.4398, allocations: 45.69 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.44, allocations: 40.06 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.44, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004081/0.4404, allocations: 113.5 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.4405, allocations: 93 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4405, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4405, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4407, allocations: 23.95 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4407, allocations: 0 / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.4408, allocations: 23.94 kB / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.4409, allocations: 3.938 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4409, allocations: 4 kB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002387/0.4411, allocations: 47.95 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4411, allocations: 4 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.4412, allocations: 0 / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/0.4412, allocations: 11.98 kB / 1.031 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.4413, allocations: 3.938 kB / 1.031 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.4414, allocations: 20.02 kB / 1.031 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.4414, allocations: 0 / 1.031 GB, free: 8.926 MB / 0.6823 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.0001333/0.4415, allocations: 185.1 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.4416, allocations: 3.953 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.4416, allocations: 7.531 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4416, allocations: 4 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4416, allocations: 0 / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4416, allocations: 3.938 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.4419, allocations: 161.7 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4419, allocations: 0 / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.442, allocations: 23.94 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.4421, allocations: 7.969 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4421, allocations: 0 / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4421, allocations: 0 / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4421, allocations: 0 / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.4426, allocations: 203.4 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.4426, allocations: 81.11 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.4426, allocations: 7.938 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.4428, allocations: 11.98 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.4429, allocations: 4.25 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4429, allocations: 0 / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.4429, allocations: 87.28 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.443, allocations: 4.031 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004634/0.4434, allocations: 8 kB / 1.032 GB, free: 8.043 MB / 0.6823 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.0001863/0.4436, allocations: 107.2 kB / 1.032 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.4442, allocations: 103.9 kB / 1.032 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4442, allocations: 0 / 1.032 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.4444, allocations: 36.09 kB / 1.032 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.4447, allocations: 15.92 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.4451, allocations: 148.6 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4454, allocations: 0.677 MB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.4455, allocations: 4 kB / 1.033 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.4455, allocations: 11.42 kB / 1.033 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/0.4455, allocations: 0 / 1.033 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of Templates: time 0.003268/0.4488, allocations: 0.4926 MB / 1.034 GB, free: 6.398 MB / 0.6823 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