Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004812, allocations: 16 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.876/0.8765, allocations: 153.6 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004857/0.8814, allocations: 3.629 MB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.8836, allocations: 1.034 MB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.8841, allocations: 23.94 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.8843, allocations: 83.02 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.8848, allocations: 155.4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.8853, allocations: 259.7 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008677/0.8862, allocations: 0.652 MB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007005/0.8869, allocations: 484.9 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.8871, allocations: 238.5 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.8875, allocations: 298 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.8875, allocations: 32 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.8876, allocations: 24 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.8878, allocations: 139.3 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.8879, allocations: 169.1 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.8888, allocations: 1.061 MB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8888, allocations: 0 / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8888, allocations: 4 kB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.8888, allocations: 0 / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002518/0.8914, allocations: 1.2 MB / 1.03 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 8.636e-05/0.8915, allocations: 23.92 kB / 1.03 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.8918, allocations: 118.6 kB / 1.03 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.8929, allocations: 0.5548 MB / 1.031 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.893, allocations: 74 kB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.8932, allocations: 96 kB / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.8952, allocations: 0.9056 MB / 1.032 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.8953, allocations: 4 kB / 1.032 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.8954, allocations: 39.98 kB / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.8954, allocations: 24 kB / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.897, allocations: 0.6754 MB / 1.033 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/0.9023, allocations: 2.884 MB / 1.035 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.9038, allocations: 0.7261 MB / 1.036 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.845e-05/0.9038, allocations: 8.656 kB / 1.036 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008384/0.9047, allocations: 372.3 kB / 1.036 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=74): time 4.288e-06/0.9047, allocations: 4 kB / 1.036 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74): time 0.002006/0.9067, allocations: 0.8758 MB / 1.037 GB, free: 15.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.9069, allocations: 162.9 kB / 1.037 GB, free: 15.78 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.9078, allocations: 0.5902 MB / 1.038 GB, free: 15.19 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.9078, allocations: 41.7 kB / 1.038 GB, free: 15.14 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.9082, allocations: 439.9 kB / 1.038 GB, free: 14.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.9084, allocations: 248.3 kB / 1.039 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.9084, allocations: 20 kB / 1.039 GB, free: 14.44 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.9086, allocations: 390.7 kB / 1.039 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.9091, allocations: 253.9 kB / 1.039 GB, free: 13.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.9097, allocations: 389.9 kB / 1.04 GB, free: 13.38 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.9102, allocations: 287 kB / 1.04 GB, free: 13.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9102, allocations: 0 / 1.04 GB, free: 13.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001262/0.9115, allocations: 0.7583 MB / 1.041 GB, free: 12.33 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.9117, allocations: 452.9 kB / 1.041 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.9117, allocations: 4 kB / 1.041 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.9118, allocations: 8 kB / 1.041 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.9124, allocations: 163.7 kB / 1.041 GB, free: 11.69 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.9124, allocations: 4 kB / 1.041 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.9128, allocations: 119.2 kB / 1.041 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.9129, allocations: 24 kB / 1.041 GB, free: 11.54 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/0.9129, allocations: 4 kB / 1.041 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007449/0.9137, allocations: 0.5466 MB / 1.042 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.9137, allocations: 4.125 kB / 1.042 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.9137, allocations: 4 kB / 1.042 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.9142, allocations: 139.8 kB / 1.042 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.9142, allocations: 7.953 kB / 1.042 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.9145, allocations: 79.36 kB / 1.042 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.9145, allocations: 23.94 kB / 1.042 GB, free: 10.74 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0003769/0.9149, allocations: 312.9 kB / 1.043 GB, free: 10.42 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.915, allocations: 75.06 kB / 1.043 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.9151, allocations: 83.73 kB / 1.043 GB, free: 10.26 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.9151, allocations: 8 kB / 1.043 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.9152, allocations: 3.953 kB / 1.043 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.9152, allocations: 3.984 kB / 1.043 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.9175, allocations: 1.644 MB / 1.044 GB, free: 8.543 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9175, allocations: 0 / 1.044 GB, free: 8.543 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.9181, allocations: 143.8 kB / 1.044 GB, free: 8.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.9181, allocations: 8 kB / 1.044 GB, free: 8.395 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.9181, allocations: 19.95 kB / 1.044 GB, free: 8.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9181, allocations: 4 kB / 1.044 GB, free: 8.371 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9181, allocations: 0 / 1.044 GB, free: 8.371 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.9199, allocations: 1.096 MB / 1.046 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.9201, allocations: 164 kB / 1.046 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.9202, allocations: 12 kB / 1.046 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.9206, allocations: 59.91 kB / 1.046 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.9207, allocations: 36.61 kB / 1.046 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.9207, allocations: 27.98 kB / 1.046 GB, free: 6.941 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005791/0.9213, allocations: 415.1 kB / 1.046 GB, free: 6.543 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9213, allocations: 0 / 1.046 GB, free: 6.543 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009523/0.9223, allocations: 326.3 kB / 1.047 GB, free: 6.223 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0002534/0.9225, allocations: 129.2 kB / 1.047 GB, free: 6.086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.9244, allocations: 0.9308 MB / 1.048 GB, free: 5.16 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.9244, allocations: 0 / 1.048 GB, free: 5.16 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.925, allocations: 328.1 kB / 1.048 GB, free: 4.836 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.9258, allocations: 148.6 kB / 1.048 GB, free: 4.691 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.9291, allocations: 1.929 MB / 1.05 GB, free: 2.73 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/0.9298, allocations: 1.017 MB / 1.051 GB, free: 1.684 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003984/0.9302, allocations: 89.53 kB / 1.051 GB, free: 1.594 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.9303, allocations: 55.42 kB / 1.051 GB, free: 1.539 MB / 0.795 GB Notification: Performance of SimCode: time 7.11e-07/0.9303, allocations: 4 kB / 1.051 GB, free: 1.535 MB / 0.795 GB Notification: Performance of Templates: time 0.01645/0.9468, allocations: 7.079 MB / 1.058 GB, free: 10.53 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches