Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 113.5 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.981/2.981, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 71.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.877/0.879, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001921/0.881, allocations: 1.04 MB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.8823, allocations: 1.301 MB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.8823, allocations: 2.812 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.8824, allocations: 22.36 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.8825, allocations: 22.64 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.8829, allocations: 179.9 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.8831, allocations: 228.7 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.8833, allocations: 63.86 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.8834, allocations: 97.59 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.8835, allocations: 92.72 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.8835, allocations: 21.53 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.8836, allocations: 45.11 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.8836, allocations: 36.56 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.8837, allocations: 98.88 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.8839, allocations: 256.2 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8839, allocations: 0 / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8839, allocations: 0 / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8839, allocations: 0 / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005635/0.8845, allocations: 0.4907 MB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.8845, allocations: 14.55 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.8847, allocations: 36.03 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.8849, allocations: 220.5 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.8849, allocations: 16.34 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.8849, allocations: 21.66 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.8851, allocations: 131.2 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8851, allocations: 3.938 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.8851, allocations: 6.531 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.8851, allocations: 2.625 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.8853, allocations: 89.59 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.8858, allocations: 0.5211 MB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.8861, allocations: 98.12 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.8862, allocations: 44.39 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.8862, allocations: 3 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.8864, allocations: 94.05 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.8864, allocations: 0 / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.000362/0.8867, allocations: 153.6 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.8867, allocations: 52.84 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.8869, allocations: 187.3 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.8869, allocations: 36.05 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.887, allocations: 117.7 kB / 1.328 GB, free: 21.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.887, allocations: 30.53 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.8871, allocations: 46.36 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.8871, allocations: 325 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.8873, allocations: 55.41 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.8874, allocations: 93.23 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.8876, allocations: 124.5 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8876, allocations: 0 / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000388/0.888, allocations: 219.3 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.888, allocations: 43.62 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.888, allocations: 0 / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.8881, allocations: 5.797 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.8881, allocations: 15.03 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8881, allocations: 1.375 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.8884, allocations: 48.33 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.8884, allocations: 6.094 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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 8.185e-05/0.8885, allocations: 143.6 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.8885, allocations: 13.97 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.8885, allocations: 16.38 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8885, allocations: 1.906 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8886, allocations: 3.797 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.8886, allocations: 1.219 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.8887, allocations: 244.1 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8887, allocations: 0 / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.118e-05/0.8888, allocations: 15.02 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8888, allocations: 0 / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8888, allocations: 8.734 kB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8888, allocations: 0.75 kB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8888, allocations: 3.984 kB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.889, allocations: 157.9 kB / 1.329 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.8891, allocations: 93.25 kB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.8891, allocations: 4.844 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.8892, allocations: 11.75 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.8892, allocations: 17.05 kB / 1.329 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.8892, allocations: 2.594 kB / 1.329 GB, free: 19.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.752e-05/0.8893, allocations: 140.9 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8893, allocations: 0 / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000243/0.8896, allocations: 44.58 kB / 1.329 GB, free: 19.58 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001187/0.8897, allocations: 104.9 kB / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.89, allocations: 169.2 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.89, allocations: 0 / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.8901, allocations: 48.66 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.8904, allocations: 20.16 kB / 1.33 GB, free: 19.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.8908, allocations: 308.4 kB / 1.33 GB, free: 19.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.8909, allocations: 0.7213 MB / 1.331 GB, free: 18.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.891, allocations: 19.84 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.891, allocations: 0 / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of Templates: time 0.004159/0.8951, allocations: 2.061 MB / 1.333 GB, free: 18.23 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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: 11.578071732001263]