Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.LimPID.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.001355/0.001355, allocations: 115.4 kB / 17.08 MB, free: 5.98 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.001385/0.001385, allocations: 194.2 kB / 20.03 MB, free: 3.051 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.512/1.512, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 437.1 MB / 0.7177 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003319/0.003319, allocations: 76.11 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3881, allocations: 151.6 MB / 1.176 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005553/0.3937, allocations: 3.704 MB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.3968, allocations: 1.328 MB / 1.181 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005535/0.3974, allocations: 23.88 kB / 1.181 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.3978, allocations: 126.6 kB / 1.181 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.3984, allocations: 186.5 kB / 1.181 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.3997, allocations: 0.5654 MB / 1.182 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.4009, allocations: 0.9719 MB / 1.183 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.4015, allocations: 353.5 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000476/0.402, allocations: 358.4 kB / 1.183 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.4024, allocations: 358.1 kB / 1.184 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.4025, allocations: 76 kB / 1.184 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.4026, allocations: 80 kB / 1.184 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.4028, allocations: 179.2 kB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.4032, allocations: 377.7 kB / 1.184 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.4042, allocations: 0.8905 MB / 1.185 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4042, allocations: 3.938 kB / 1.185 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4043, allocations: 4 kB / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.4043, allocations: 0 / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002237/0.4065, allocations: 1.214 MB / 1.186 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4066, allocations: 8.031 kB / 1.186 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.4068, allocations: 100.3 kB / 1.186 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.4079, allocations: 0.6227 MB / 1.187 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.4081, allocations: 101 kB / 1.187 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.4082, allocations: 64.31 kB / 1.187 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.4093, allocations: 0.6042 MB / 1.188 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4093, allocations: 0 / 1.188 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.4094, allocations: 20 kB / 1.188 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.4094, allocations: 12 kB / 1.188 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009789/0.4104, allocations: 427.6 kB / 1.188 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.4135, allocations: 2.095 MB / 1.19 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.4147, allocations: 0.5072 MB / 1.191 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.4152, allocations: 216.7 kB / 1.191 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.4153, allocations: 7.984 kB / 1.191 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006937/0.416, allocations: 282 kB / 1.191 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=45): time 3.236e-06/0.416, allocations: 0 / 1.191 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.001537/0.4176, allocations: 0.6155 MB / 1.192 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.4176, allocations: 88.8 kB / 1.192 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.4184, allocations: 0.6139 MB / 1.193 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.4185, allocations: 33.7 kB / 1.193 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.4188, allocations: 361.3 kB / 1.193 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.419, allocations: 170.6 kB / 1.193 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.4191, allocations: 94.25 kB / 1.193 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4193, allocations: 326 kB / 1.193 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.4198, allocations: 183 kB / 1.194 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.4203, allocations: 276.2 kB / 1.194 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.4213, allocations: 477.9 kB / 1.194 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4213, allocations: 3.938 kB / 1.194 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001261/0.4226, allocations: 0.6026 MB / 1.195 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.4227, allocations: 33.7 kB / 1.195 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4227, allocations: 0 / 1.195 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4227, allocations: 7.984 kB / 1.195 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.4232, allocations: 116.1 kB / 1.195 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4232, allocations: 5.094 kB / 1.195 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.4236, allocations: 59.61 kB / 1.195 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.4237, allocations: 27.92 kB / 1.195 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006127/0.4243, allocations: 305.2 kB / 1.195 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004742/0.4248, allocations: 272.2 kB / 1.196 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008583/0.4256, allocations: 454 kB / 1.196 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.4257, allocations: 0 / 1.196 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001166/0.4268, allocations: 0.5907 MB / 1.197 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.4269, allocations: 37.69 kB / 1.197 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4269, allocations: 4 kB / 1.197 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.914e-06/0.4269, allocations: 4 kB / 1.197 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.4273, allocations: 99.83 kB / 1.197 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4274, allocations: 7.984 kB / 1.197 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.4277, allocations: 48.02 kB / 1.197 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.4278, allocations: 20 kB / 1.197 GB, free: 15.69 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 0.00025/0.428, allocations: 220 kB / 1.197 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4281, allocations: 79.47 kB / 1.197 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.4283, allocations: 79.22 kB / 1.197 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4284, allocations: 4 kB / 1.197 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4284, allocations: 0 / 1.197 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4284, allocations: 3.984 kB / 1.197 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.4292, allocations: 0.6142 MB / 1.198 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4292, allocations: 12 kB / 1.198 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.4296, allocations: 83.88 kB / 1.198 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4297, allocations: 0 / 1.198 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.4297, allocations: 12 kB / 1.198 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4297, allocations: 4 kB / 1.198 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4297, allocations: 0 / 1.198 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.4313, allocations: 0.7318 MB / 1.199 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.4315, allocations: 196.5 kB / 1.199 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.4316, allocations: 8 kB / 1.199 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.432, allocations: 43.95 kB / 1.199 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4321, allocations: 27.95 kB / 1.199 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.4322, allocations: 16 kB / 1.199 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005639/0.4327, allocations: 427 kB / 1.199 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4327, allocations: 0 / 1.199 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006398/0.4334, allocations: 219.5 kB / 1.2 GB, free: 12.84 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000177/0.4336, allocations: 123.1 kB / 1.2 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.4353, allocations: 0.7815 MB / 1.201 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4353, allocations: 0 / 1.201 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.4358, allocations: 211.9 kB / 1.201 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/0.4367, allocations: 209.4 kB / 1.201 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.439, allocations: 1.249 MB / 1.202 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.4396, allocations: 0.9141 MB / 1.203 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.4398, allocations: 55.42 kB / 1.203 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/0.4398, allocations: 4 kB / 1.203 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of Templates: time 0.01499/0.4548, allocations: 8.708 MB / 1.212 GB, free: 0.5547 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPID.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.662674306076951]