Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.051/3.051, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.08 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005195/1.117, allocations: 4.341 MB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003402/1.12, allocations: 1.579 MB / 1.268 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009546/1.121, allocations: 35.34 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004458/1.122, allocations: 169.2 kB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007485/1.123, allocations: 228.4 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/1.124, allocations: 0.6659 MB / 1.269 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001492/1.126, allocations: 1.222 MB / 1.271 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006982/1.126, allocations: 0.503 MB / 1.271 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006363/1.127, allocations: 462.6 kB / 1.272 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004449/1.127, allocations: 459.1 kB / 1.272 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/1.128, allocations: 102.1 kB / 1.272 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/1.128, allocations: 102.3 kB / 1.272 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/1.128, allocations: 239.3 kB / 1.272 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/1.128, allocations: 490.1 kB / 1.273 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/1.129, allocations: 1.163 MB / 1.274 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.129, allocations: 1.094 kB / 1.274 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/1.129, allocations: 0 / 1.274 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.551e-05/1.13, allocations: 0 / 1.274 GB, free: 0.5664 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002567/1.132, allocations: 1.427 MB / 1.275 GB, free: 15.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.132, allocations: 9.094 kB / 1.275 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/1.132, allocations: 128.3 kB / 1.275 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/1.134, allocations: 0.7702 MB / 1.276 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.134, allocations: 82.3 kB / 1.276 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/1.134, allocations: 75.17 kB / 1.276 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.136, allocations: 0.7314 MB / 1.277 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/1.136, allocations: 9.094 kB / 1.277 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/1.136, allocations: 30.92 kB / 1.277 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/1.136, allocations: 20.72 kB / 1.277 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/1.137, allocations: 0.5139 MB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/1.141, allocations: 2.25 MB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.142, allocations: 0.629 MB / 1.28 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/1.143, allocations: 272 kB / 1.281 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/1.143, allocations: 8.531 kB / 1.281 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006832/1.144, allocations: 326 kB / 1.281 GB, free: 12.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.515e-06/1.144, allocations: 0 / 1.281 GB, free: 12.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.00176/1.145, allocations: 0.7545 MB / 1.282 GB, free: 12.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/1.145, allocations: 89.31 kB / 1.282 GB, free: 12.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/1.146, allocations: 0.7569 MB / 1.283 GB, free: 11.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/1.146, allocations: 40.98 kB / 1.283 GB, free: 11.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/1.147, allocations: 450 kB / 1.283 GB, free: 11.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/1.147, allocations: 212.6 kB / 1.283 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/1.147, allocations: 106.5 kB / 1.283 GB, free: 11.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.147, allocations: 329.1 kB / 1.284 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/1.148, allocations: 214.7 kB / 1.284 GB, free: 10.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/1.148, allocations: 306.6 kB / 1.284 GB, free: 10.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.15, allocations: 0.4961 MB / 1.285 GB, free: 10.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.15, allocations: 1.031 kB / 1.285 GB, free: 10.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001332/1.151, allocations: 0.6588 MB / 1.285 GB, free: 10.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.151, allocations: 5.469 kB / 1.285 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.151, allocations: 3.844 kB / 1.285 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.151, allocations: 16.72 kB / 1.285 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/1.152, allocations: 147.7 kB / 1.286 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.152, allocations: 9.047 kB / 1.286 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/1.152, allocations: 73.88 kB / 1.286 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/1.152, allocations: 19.97 kB / 1.286 GB, free: 9.957 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006468/1.153, allocations: 360 kB / 1.286 GB, free: 9.754 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000518/1.153, allocations: 290.2 kB / 1.286 GB, free: 9.578 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009282/1.154, allocations: 495.6 kB / 1.287 GB, free: 9.301 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/1.154, allocations: 1.125 kB / 1.287 GB, free: 9.301 MB / 1.014 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001204/1.155, allocations: 0.6359 MB / 1.287 GB, free: 9.012 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.156, allocations: 7.844 kB / 1.287 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.156, allocations: 2.469 kB / 1.287 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/1.156, allocations: 4.688 kB / 1.287 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/1.156, allocations: 142.5 kB / 1.287 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.156, allocations: 5.375 kB / 1.287 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/1.157, allocations: 67.8 kB / 1.288 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/1.157, allocations: 25.77 kB / 1.288 GB, free: 8.945 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002453/1.157, allocations: 217.4 kB / 1.288 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/1.157, allocations: 100.8 kB / 1.288 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/1.157, allocations: 101.7 kB / 1.288 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.157, allocations: 5.75 kB / 1.288 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/1.157, allocations: 7.922 kB / 1.288 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.157, allocations: 5.156 kB / 1.288 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/1.16, allocations: 1.439 MB / 1.289 GB, free: 7.855 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.16, allocations: 0.5 kB / 1.289 GB, free: 7.855 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/1.161, allocations: 109.6 kB / 1.289 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.161, allocations: 7.5 kB / 1.289 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/1.161, allocations: 12.38 kB / 1.29 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.161, allocations: 3.359 kB / 1.29 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.161, allocations: 0 / 1.29 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/1.163, allocations: 0.9716 MB / 1.29 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/1.163, allocations: 228.7 kB / 1.291 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.531e-05/1.163, allocations: 12.03 kB / 1.291 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/1.163, allocations: 31.73 kB / 1.291 GB, free: 7.129 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.164, allocations: 34.91 kB / 1.291 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/1.164, allocations: 23.38 kB / 1.291 GB, free: 7.117 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007361/1.164, allocations: 0.5163 MB / 1.291 GB, free: 6.898 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.164, allocations: 0 / 1.291 GB, free: 6.898 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008074/1.165, allocations: 278.4 kB / 1.292 GB, free: 6.82 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001653/1.165, allocations: 117.6 kB / 1.292 GB, free: 6.715 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001761/1.167, allocations: 0.7913 MB / 1.292 GB, free: 6.449 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.167, allocations: 1.406 kB / 1.292 GB, free: 6.449 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/1.168, allocations: 269.8 kB / 1.293 GB, free: 6.363 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.169, allocations: 262.1 kB / 1.293 GB, free: 6.273 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/1.172, allocations: 1.625 MB / 1.295 GB, free: 5.352 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/1.173, allocations: 0.9913 MB / 1.295 GB, free: 4.637 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/1.173, allocations: 65.38 kB / 1.296 GB, free: 4.629 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.173, allocations: 0 / 1.296 GB, free: 4.629 MB / 1.014 GB Notification: Performance of Templates: time 0.02232/1.195, allocations: 11.03 MB / 1.306 GB, free: 3.367 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.922030417015776]