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.001809/0.001809, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002166/0.002166, allocations: 187.5 kB / 22.22 MB, free: 5.105 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.501/1.501, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002259/0.002259, allocations: 67.89 kB / 1.061 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.143, allocations: 160.8 MB / 1.218 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006187/1.149, allocations: 3.749 MB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003669/1.152, allocations: 1.349 MB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009372/1.153, allocations: 34 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/1.154, allocations: 129.2 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007918/1.155, allocations: 187.5 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/1.156, allocations: 0.5909 MB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001628/1.158, allocations: 0.9706 MB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005885/1.159, allocations: 244.2 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/1.159, allocations: 379.7 kB / 1.226 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004964/1.16, allocations: 358.8 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/1.16, allocations: 80.22 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/1.16, allocations: 79.81 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/1.16, allocations: 194.8 kB / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004067/1.161, allocations: 375.4 kB / 1.227 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/1.162, allocations: 0.9103 MB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.162, allocations: 0 / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.023e-06/1.162, allocations: 0 / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.36e-05/1.162, allocations: 0 / 1.228 GB, free: 12.43 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.002531/1.164, allocations: 1.205 MB / 1.229 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.165, allocations: 8.344 kB / 1.229 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/1.165, allocations: 99.3 kB / 1.229 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.166, allocations: 0.6229 MB / 1.23 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/1.166, allocations: 98.25 kB / 1.23 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/1.166, allocations: 55.98 kB / 1.23 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/1.167, allocations: 0.6086 MB / 1.23 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/1.167, allocations: 5.625 kB / 1.23 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/1.168, allocations: 20.59 kB / 1.23 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/1.168, allocations: 13.06 kB / 1.23 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/1.169, allocations: 432.8 kB / 1.231 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/1.172, allocations: 2.109 MB / 1.233 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/1.173, allocations: 495 kB / 1.233 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/1.174, allocations: 208.8 kB / 1.234 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/1.174, allocations: 4 kB / 1.234 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006747/1.175, allocations: 282.2 kB / 1.234 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=45): time 2.885e-06/1.175, allocations: 0 / 1.234 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.00157/1.176, allocations: 0.6258 MB / 1.234 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/1.176, allocations: 84.86 kB / 1.235 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/1.177, allocations: 0.6178 MB / 1.235 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/1.177, allocations: 37.7 kB / 1.235 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/1.177, allocations: 365.3 kB / 1.236 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/1.178, allocations: 158.6 kB / 1.236 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/1.178, allocations: 98.33 kB / 1.236 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.178, allocations: 326 kB / 1.236 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/1.178, allocations: 187.4 kB / 1.236 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/1.179, allocations: 285.1 kB / 1.237 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009543/1.18, allocations: 466 kB / 1.237 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/1.18, allocations: 7.938 kB / 1.237 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001317/1.181, allocations: 0.6067 MB / 1.238 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/1.181, allocations: 37.7 kB / 1.238 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.181, allocations: 5.094 kB / 1.238 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/1.181, allocations: 4 kB / 1.238 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/1.182, allocations: 107.8 kB / 1.238 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/1.182, allocations: 4 kB / 1.238 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/1.182, allocations: 67.59 kB / 1.238 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/1.182, allocations: 23.98 kB / 1.238 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006391/1.183, allocations: 313.4 kB / 1.238 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004925/1.183, allocations: 269.1 kB / 1.238 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008762/1.184, allocations: 453.9 kB / 1.239 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/1.184, allocations: 0 / 1.239 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001201/1.186, allocations: 0.5869 MB / 1.239 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/1.186, allocations: 37.69 kB / 1.239 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/1.186, allocations: 3.938 kB / 1.239 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/1.186, allocations: 4 kB / 1.239 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/1.186, allocations: 104.2 kB / 1.24 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.186, allocations: 15.86 kB / 1.24 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/1.186, allocations: 47.77 kB / 1.24 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/1.187, allocations: 16 kB / 1.24 GB, free: 1.031 MB / 0.9356 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.0002628/1.187, allocations: 226.1 kB / 1.24 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.187, allocations: 75.48 kB / 1.24 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/1.187, allocations: 83.22 kB / 1.24 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.187, allocations: 4 kB / 1.24 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.187, allocations: 3.938 kB / 1.24 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.187, allocations: 3.984 kB / 1.24 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/1.188, allocations: 0.6297 MB / 1.241 GB, free: 15.95 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.188, allocations: 0 / 1.241 GB, free: 15.95 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/1.188, allocations: 79.89 kB / 1.241 GB, free: 15.88 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/1.188, allocations: 4 kB / 1.241 GB, free: 15.87 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/1.188, allocations: 11.98 kB / 1.241 GB, free: 15.86 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/1.188, allocations: 8 kB / 1.241 GB, free: 15.85 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.188, allocations: 0 / 1.241 GB, free: 15.85 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/1.19, allocations: 0.7408 MB / 1.241 GB, free: 15.09 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/1.19, allocations: 200.5 kB / 1.242 GB, free: 14.88 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/1.19, allocations: 4 kB / 1.242 GB, free: 14.88 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/1.191, allocations: 39.95 kB / 1.242 GB, free: 14.84 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.191, allocations: 31.94 kB / 1.242 GB, free: 14.8 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/1.191, allocations: 15.98 kB / 1.242 GB, free: 14.79 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.0006007/1.192, allocations: 443 kB / 1.242 GB, free: 14.36 MB / 0.9513 GB Notification: Performance of sort global known variables: time 6e-08/1.192, allocations: 0 / 1.242 GB, free: 14.36 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.000692/1.192, allocations: 219.5 kB / 1.242 GB, free: 14.14 MB / 0.9513 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.0001614/1.192, allocations: 107.2 kB / 1.242 GB, free: 14.03 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.194, allocations: 0.7495 MB / 1.243 GB, free: 13.26 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.194, allocations: 4.938 kB / 1.243 GB, free: 13.25 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.0004709/1.195, allocations: 211.7 kB / 1.243 GB, free: 13.05 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008835/1.195, allocations: 209.3 kB / 1.244 GB, free: 12.86 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/1.198, allocations: 1.198 MB / 1.245 GB, free: 11.62 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/1.199, allocations: 0.9181 MB / 1.246 GB, free: 10.68 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.0004108/1.199, allocations: 93.12 kB / 1.246 GB, free: 10.59 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.199, allocations: 47.44 kB / 1.246 GB, free: 10.54 MB / 0.9513 GB Notification: Performance of SimCode: time 1.883e-06/1.199, allocations: 0 / 1.246 GB, free: 10.54 MB / 0.9513 GB Notification: Performance of Templates: time 0.01798/1.217, allocations: 8.052 MB / 1.254 GB, free: 2.578 MB / 0.9513 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.592989797703922]