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.001566/0.001566, allocations: 117.8 kB / 17.13 MB, free: 5.781 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.001559/0.001559, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.497/1.497, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.655/2.655, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 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.001969/0.001969, allocations: 67.89 kB / 1.057 GB, free: 2.012 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3713, allocations: 160.7 MB / 1.214 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006048/0.3774, allocations: 3.725 MB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.3805, allocations: 1.336 MB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.3812, allocations: 31.88 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.3818, allocations: 126.6 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009538/0.3827, allocations: 194.5 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3843, allocations: 0.5637 MB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.3858, allocations: 0.9682 MB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.3863, allocations: 253.6 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.3868, allocations: 378.3 kB / 1.221 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.3872, allocations: 346.1 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.3873, allocations: 83.98 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3874, allocations: 76 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3876, allocations: 175.3 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.3879, allocations: 381.7 kB / 1.222 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3889, allocations: 0.8906 MB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.389, allocations: 0 / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.389, allocations: 4 kB / 1.223 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.389, allocations: 0 / 1.223 GB, free: 7.43 MB / 0.9669 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.002161/0.3911, allocations: 1.214 MB / 1.224 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3912, allocations: 12.03 kB / 1.224 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.3914, allocations: 100.3 kB / 1.225 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3924, allocations: 0.6188 MB / 1.225 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.3925, allocations: 105 kB / 1.225 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.803e-05/0.3926, allocations: 56.31 kB / 1.225 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3938, allocations: 0.6003 MB / 1.226 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3938, allocations: 4 kB / 1.226 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.3939, allocations: 20 kB / 1.226 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.3939, allocations: 16 kB / 1.226 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000997/0.3949, allocations: 423.6 kB / 1.226 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.3979, allocations: 2.099 MB / 1.228 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.3991, allocations: 495.4 kB / 1.229 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.3996, allocations: 204.8 kB / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.3997, allocations: 4 kB / 1.229 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006638/0.4003, allocations: 285.9 kB / 1.229 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.4003, allocations: 0 / 1.229 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.001568/0.4019, allocations: 0.6155 MB / 1.23 GB, free: 332 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.402, allocations: 88.86 kB / 1.23 GB, free: 224 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/0.4028, allocations: 0.6111 MB / 1.231 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.4028, allocations: 37.7 kB / 1.231 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.4031, allocations: 365.3 kB / 1.231 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.4033, allocations: 162.6 kB / 1.231 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.4035, allocations: 94.23 kB / 1.231 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4036, allocations: 326 kB / 1.232 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.4041, allocations: 187 kB / 1.232 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.4046, allocations: 276.2 kB / 1.232 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000996/0.4056, allocations: 477.9 kB / 1.232 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4056, allocations: 3.938 kB / 1.232 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001255/0.4069, allocations: 0.6025 MB / 1.233 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.4069, allocations: 30.02 kB / 1.233 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.4069, allocations: 8 kB / 1.233 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.407, allocations: 7.938 kB / 1.233 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.4074, allocations: 103.9 kB / 1.233 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.4075, allocations: 15.92 kB / 1.233 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.4078, allocations: 59.61 kB / 1.233 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.4079, allocations: 23.98 kB / 1.233 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005883/0.4085, allocations: 309.2 kB / 1.234 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004966/0.409, allocations: 260.3 kB / 1.234 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008809/0.4099, allocations: 454 kB / 1.234 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.4099, allocations: 4 kB / 1.234 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001174/0.411, allocations: 0.5829 MB / 1.235 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.4111, allocations: 39.72 kB / 1.235 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4111, allocations: 0 / 1.235 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.4111, allocations: 8 kB / 1.235 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.4115, allocations: 104.1 kB / 1.235 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4115, allocations: 4 kB / 1.235 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.4119, allocations: 55.75 kB / 1.235 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.4119, allocations: 16 kB / 1.235 GB, free: 10.84 MB / 0.9825 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.0002175/0.4122, allocations: 218.2 kB / 1.235 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4123, allocations: 79.48 kB / 1.235 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.4124, allocations: 83.2 kB / 1.235 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4125, allocations: 8 kB / 1.235 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4125, allocations: 0 / 1.235 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4125, allocations: 0 / 1.235 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/0.4132, allocations: 0.6219 MB / 1.236 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4132, allocations: 0 / 1.236 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.4137, allocations: 87.83 kB / 1.236 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4137, allocations: 0 / 1.236 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.4137, allocations: 15.92 kB / 1.236 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4137, allocations: 0 / 1.236 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4137, allocations: 8 kB / 1.236 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.4154, allocations: 0.7318 MB / 1.237 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.4156, allocations: 196.5 kB / 1.237 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.4157, allocations: 12 kB / 1.237 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.4161, allocations: 31.95 kB / 1.237 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.4162, allocations: 27.97 kB / 1.237 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.4162, allocations: 19.98 kB / 1.237 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006096/0.4168, allocations: 431 kB / 1.238 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4168, allocations: 0 / 1.238 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006252/0.4175, allocations: 219.5 kB / 1.238 GB, free: 7.977 MB / 0.9825 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.0001713/0.4176, allocations: 113.7 kB / 1.238 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.4193, allocations: 0.7457 MB / 1.239 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4193, allocations: 0 / 1.239 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.4198, allocations: 204.7 kB / 1.239 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008934/0.4206, allocations: 208.4 kB / 1.239 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.4229, allocations: 1.249 MB / 1.24 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.4235, allocations: 0.9141 MB / 1.241 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.4237, allocations: 59.42 kB / 1.241 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/0.4237, allocations: 0 / 1.241 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of Templates: time 0.01373/0.4374, allocations: 8.709 MB / 1.25 GB, free: 11.75 MB / 0.9981 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: 12.321097048930824]