Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.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.001687/0.001687, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.002019/0.002019, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.501/1.501, 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.992/2.992, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.Continuous.Examples.LimPID") [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.002003/0.002003, allocations: 71.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213/1.215, allocations: 176.1 MB / 1.322 GB, free: 25.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005785/1.221, allocations: 3.731 MB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00346/1.224, allocations: 1.369 MB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/1.225, allocations: 37.31 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000451/1.226, allocations: 127.4 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007154/1.226, allocations: 179.9 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/1.228, allocations: 0.5649 MB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001657/1.23, allocations: 0.9617 MB / 1.329 GB, free: 20.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/1.23, allocations: 245.7 kB / 1.329 GB, free: 20.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/1.231, allocations: 381.5 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/1.231, allocations: 360.3 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/1.231, allocations: 79.53 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/1.232, allocations: 83.94 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/1.232, allocations: 188.6 kB / 1.33 GB, free: 19.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003976/1.232, allocations: 376.5 kB / 1.33 GB, free: 19.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/1.234, allocations: 0.8967 MB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.234, allocations: 0.6094 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/1.234, allocations: 0 / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.732e-05/1.234, allocations: 1.219 kB / 1.331 GB, free: 19.08 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003211/1.237, allocations: 1.211 MB / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/1.237, allocations: 13.02 kB / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/1.237, allocations: 99.5 kB / 1.333 GB, free: 18.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/1.239, allocations: 0.6275 MB / 1.333 GB, free: 17.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/1.239, allocations: 95.69 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/1.239, allocations: 52.89 kB / 1.333 GB, free: 17.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.24, allocations: 0.6159 MB / 1.334 GB, free: 17.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.24, allocations: 5.25 kB / 1.334 GB, free: 17.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/1.24, allocations: 20.69 kB / 1.334 GB, free: 17.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/1.24, allocations: 13.33 kB / 1.334 GB, free: 17.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/1.241, allocations: 428.8 kB / 1.334 GB, free: 17.15 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/1.245, allocations: 2.099 MB / 1.336 GB, free: 15.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/1.246, allocations: 495.4 kB / 1.337 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005239/1.247, allocations: 208.2 kB / 1.337 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/1.247, allocations: 4.125 kB / 1.337 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007131/1.247, allocations: 288.9 kB / 1.337 GB, free: 15.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 2.755e-06/1.247, allocations: 0 / 1.337 GB, free: 15.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001683/1.249, allocations: 0.6189 MB / 1.338 GB, free: 15.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/1.249, allocations: 117.1 kB / 1.338 GB, free: 14.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008179/1.25, allocations: 0.615 MB / 1.339 GB, free: 14.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/1.25, allocations: 36.45 kB / 1.339 GB, free: 14.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/1.25, allocations: 369.5 kB / 1.339 GB, free: 14.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.25, allocations: 159.7 kB / 1.339 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/1.25, allocations: 98.77 kB / 1.339 GB, free: 14.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/1.251, allocations: 324.7 kB / 1.34 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/1.251, allocations: 190.2 kB / 1.34 GB, free: 13.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/1.252, allocations: 284.5 kB / 1.34 GB, free: 13.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/1.252, allocations: 484.6 kB / 1.34 GB, free: 13.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.252, allocations: 3.938 kB / 1.341 GB, free: 13.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00128/1.254, allocations: 0.6049 MB / 1.341 GB, free: 13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/1.254, allocations: 37.81 kB / 1.341 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.254, allocations: 3.312 kB / 1.341 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.254, allocations: 4.125 kB / 1.341 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/1.254, allocations: 106.2 kB / 1.341 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/1.254, allocations: 8.703 kB / 1.341 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/1.255, allocations: 68.52 kB / 1.341 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/1.255, allocations: 19.77 kB / 1.341 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005818/1.255, allocations: 310.1 kB / 1.342 GB, free: 12.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004862/1.256, allocations: 272.5 kB / 1.342 GB, free: 12.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008408/1.257, allocations: 462.5 kB / 1.342 GB, free: 12.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/1.257, allocations: 1.219 kB / 1.342 GB, free: 12.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001166/1.258, allocations: 0.5819 MB / 1.343 GB, free: 12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.258, allocations: 36.89 kB / 1.343 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.258, allocations: 2.344 kB / 1.343 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/1.258, allocations: 5.906 kB / 1.343 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/1.258, allocations: 103.6 kB / 1.343 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/1.258, allocations: 5.594 kB / 1.343 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/1.259, allocations: 58.78 kB / 1.343 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/1.259, allocations: 20.88 kB / 1.343 GB, free: 11.91 MB / 1.061 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.0002179/1.259, allocations: 221.7 kB / 1.343 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.259, allocations: 78.06 kB / 1.343 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/1.259, allocations: 79.34 kB / 1.343 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.26, allocations: 5.984 kB / 1.343 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.26, allocations: 0 / 1.343 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.26, allocations: 2.531 kB / 1.343 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008944/1.26, allocations: 0.6282 MB / 1.344 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.26, allocations: 0 / 1.344 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/1.261, allocations: 91.62 kB / 1.344 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.261, allocations: 5.562 kB / 1.344 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/1.261, allocations: 9.016 kB / 1.344 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.261, allocations: 2.156 kB / 1.344 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.261, allocations: 0 / 1.344 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.263, allocations: 0.7439 MB / 1.345 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/1.263, allocations: 197.2 kB / 1.345 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/1.263, allocations: 11.91 kB / 1.345 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/1.263, allocations: 38.97 kB / 1.345 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.264, allocations: 33.58 kB / 1.345 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/1.264, allocations: 14.03 kB / 1.345 GB, free: 10.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000613/1.264, allocations: 433.5 kB / 1.346 GB, free: 10.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.264, allocations: 0 / 1.346 GB, free: 10.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007397/1.265, allocations: 219.9 kB / 1.346 GB, free: 10.42 MB / 1.061 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.0001446/1.265, allocations: 110.8 kB / 1.346 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001749/1.267, allocations: 0.7615 MB / 1.347 GB, free: 9.973 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.267, allocations: 1.547 kB / 1.347 GB, free: 9.973 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/1.267, allocations: 206.3 kB / 1.347 GB, free: 9.906 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009653/1.268, allocations: 206.1 kB / 1.347 GB, free: 9.836 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/1.271, allocations: 1.233 MB / 1.348 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/1.271, allocations: 0.9141 MB / 1.349 GB, free: 8.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/1.271, allocations: 51.34 kB / 1.349 GB, free: 8.402 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.271, allocations: 0 / 1.349 GB, free: 8.402 MB / 1.061 GB Notification: Performance of Templates: time 0.02123/1.293, allocations: 8.801 MB / 1.358 GB, free: 7.441 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.030043524006032]