Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.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_9_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_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001249/0.00125, allocations: 180.1 kB / 492.3 MB, free: 0.6289 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.542/1.542, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0009519/0.0009521, allocations: 87.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.518e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2711, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9737/1.245, allocations: 154.3 MB / 1.363 GB, free: 18.87 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.245, allocations: 89.73 kB / 1.363 GB, free: 18.87 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03727/1.282, allocations: 17.4 MB / 1.38 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/1.282, allocations: 0 / 1.38 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.902e-05/1.283, allocations: 19.25 kB / 1.38 GB, free: 31.44 MB / 0.8386 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.001427/1.284, allocations: 1.051 MB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.284, allocations: 7.688 kB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/1.284, allocations: 132.1 kB / 1.381 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/1.285, allocations: 0.5945 MB / 1.382 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/1.285, allocations: 79.72 kB / 1.382 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.285, allocations: 94.38 kB / 1.382 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.286, allocations: 0.8409 MB / 1.383 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/1.286, allocations: 0 / 1.383 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/1.286, allocations: 41.31 kB / 1.383 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/1.286, allocations: 27.2 kB / 1.383 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008541/1.287, allocations: 0.5647 MB / 1.384 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/1.29, allocations: 2.675 MB / 1.386 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/1.291, allocations: 0.612 MB / 1.387 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/1.292, allocations: 369.5 kB / 1.387 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/1.292, allocations: 12.22 kB / 1.387 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/1.292, allocations: 321.5 kB / 1.387 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.585e-06/1.292, allocations: 0 / 1.387 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0007667/1.293, allocations: 0.5427 MB / 1.388 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/1.293, allocations: 166.8 kB / 1.388 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/1.294, allocations: 0.5392 MB / 1.389 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/1.294, allocations: 42.58 kB / 1.389 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/1.294, allocations: 417.9 kB / 1.389 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/1.294, allocations: 266.4 kB / 1.389 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/1.294, allocations: 17.28 kB / 1.389 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.552e-05/1.294, allocations: 336.1 kB / 1.39 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/1.294, allocations: 187.8 kB / 1.39 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/1.295, allocations: 304.8 kB / 1.39 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/1.295, allocations: 226.9 kB / 1.39 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.295, allocations: 0 / 1.39 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007409/1.296, allocations: 0.6227 MB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/1.296, allocations: 184.7 kB / 1.391 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.296, allocations: 0 / 1.391 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.296, allocations: 3.781 kB / 1.391 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/1.296, allocations: 169.7 kB / 1.391 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.296, allocations: 0 / 1.391 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/1.297, allocations: 112.2 kB / 1.391 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/1.297, allocations: 26.53 kB / 1.391 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/1.297, allocations: 3.812 kB / 1.391 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006069/1.297, allocations: 0.5013 MB / 1.392 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/1.297, allocations: 0 / 1.392 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/1.297, allocations: 3.844 kB / 1.392 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/1.298, allocations: 135.8 kB / 1.392 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.298, allocations: 3.844 kB / 1.392 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/1.298, allocations: 84.72 kB / 1.392 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/1.298, allocations: 26.64 kB / 1.392 GB, free: 26.55 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001219/1.298, allocations: 147.4 kB / 1.392 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/1.298, allocations: 77.72 kB / 1.392 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/1.299, allocations: 91.58 kB / 1.392 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/1.299, allocations: 11.81 kB / 1.393 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.299, allocations: 0 / 1.393 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.299, allocations: 3.984 kB / 1.393 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/1.3, allocations: 1.549 MB / 1.394 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.3, allocations: 0 / 1.394 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/1.301, allocations: 153.8 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.301, allocations: 0 / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/1.301, allocations: 25.23 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.301, allocations: 0 / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.301, allocations: 3.953 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/1.302, allocations: 0.9397 MB / 1.395 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.302, allocations: 165.6 kB / 1.395 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/1.302, allocations: 17.69 kB / 1.395 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/1.303, allocations: 61.39 kB / 1.395 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/1.303, allocations: 46.66 kB / 1.395 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/1.303, allocations: 22.7 kB / 1.395 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004168/1.303, allocations: 430.9 kB / 1.396 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.303, allocations: 0 / 1.396 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006052/1.304, allocations: 316.1 kB / 1.396 GB, free: 25.06 MB / 0.8386 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: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.0001576/1.304, allocations: 135.5 kB / 1.396 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009915/1.305, allocations: 0.8219 MB / 1.397 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.305, allocations: 0 / 1.397 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/1.305, allocations: 279.2 kB / 1.397 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/1.306, allocations: 153.6 kB / 1.397 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/1.307, allocations: 1.216 MB / 1.399 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/1.308, allocations: 1.015 MB / 1.4 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004748/1.308, allocations: 126.2 kB / 1.4 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/1.308, allocations: 57.47 kB / 1.4 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.308, allocations: 0 / 1.4 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.01295/1.321, allocations: 8.247 MB / 1.408 GB, free: 16.4 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches