Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001799/0.001799, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002129/0.002129, allocations: 186 kB / 20.78 MB, free: 1.547 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.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.89/2.89, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184/1.186, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005542/1.192, allocations: 3.756 MB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003249/1.195, allocations: 1.334 MB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006353/1.195, allocations: 25.56 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003708/1.196, allocations: 132 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005914/1.196, allocations: 183.5 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/1.198, allocations: 0.5907 MB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001177/1.199, allocations: 0.9592 MB / 1.279 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/1.199, allocations: 253.3 kB / 1.279 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/1.2, allocations: 372.5 kB / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/1.2, allocations: 354.2 kB / 1.28 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/1.201, allocations: 77.16 kB / 1.28 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/1.201, allocations: 79.12 kB / 1.28 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/1.201, allocations: 181 kB / 1.28 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003381/1.201, allocations: 384.4 kB / 1.28 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/1.203, allocations: 0.8933 MB / 1.281 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.203, allocations: 1.062 kB / 1.281 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/1.203, allocations: 0 / 1.281 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.428e-05/1.203, allocations: 4 kB / 1.281 GB, free: 1.852 MB / 0.9981 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.002447/1.205, allocations: 1.205 MB / 1.282 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.205, allocations: 11.03 kB / 1.282 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/1.205, allocations: 100.9 kB / 1.283 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.206, allocations: 0.628 MB / 1.283 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/1.207, allocations: 100.5 kB / 1.283 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/1.207, allocations: 52.27 kB / 1.283 GB, free: 432 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.208, allocations: 0.6035 MB / 1.284 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.208, allocations: 0 / 1.284 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/1.208, allocations: 25.86 kB / 1.284 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.208, allocations: 13.53 kB / 1.284 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/1.209, allocations: 427.8 kB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/1.213, allocations: 2.096 MB / 1.286 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/1.214, allocations: 0.4888 MB / 1.287 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/1.214, allocations: 211.7 kB / 1.287 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/1.214, allocations: 8.641 kB / 1.287 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007316/1.215, allocations: 277.7 kB / 1.287 GB, free: 14.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.444e-06/1.215, allocations: 0 / 1.287 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.001676/1.217, allocations: 0.6165 MB / 1.288 GB, free: 13.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/1.217, allocations: 87.05 kB / 1.288 GB, free: 13.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/1.218, allocations: 0.6143 MB / 1.289 GB, free: 13.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/1.218, allocations: 37.45 kB / 1.289 GB, free: 13.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/1.218, allocations: 359.7 kB / 1.289 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/1.218, allocations: 161.8 kB / 1.289 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.219, allocations: 94.48 kB / 1.289 GB, free: 12.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.219, allocations: 324.2 kB / 1.29 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/1.219, allocations: 185.2 kB / 1.29 GB, free: 12.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/1.22, allocations: 277.1 kB / 1.29 GB, free: 12.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.221, allocations: 476.5 kB / 1.29 GB, free: 12.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.221, allocations: 5.438 kB / 1.29 GB, free: 12.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001351/1.222, allocations: 0.6042 MB / 1.291 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/1.222, allocations: 32.31 kB / 1.291 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.222, allocations: 4.938 kB / 1.291 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.222, allocations: 7.062 kB / 1.291 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/1.223, allocations: 111.2 kB / 1.291 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/1.223, allocations: 9.531 kB / 1.291 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/1.223, allocations: 63.14 kB / 1.291 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/1.223, allocations: 19.83 kB / 1.291 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006204/1.224, allocations: 308.1 kB / 1.292 GB, free: 11.58 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005177/1.224, allocations: 270.4 kB / 1.292 GB, free: 11.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008333/1.225, allocations: 455.6 kB / 1.292 GB, free: 11.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/1.225, allocations: 0 / 1.292 GB, free: 11.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001129/1.226, allocations: 0.5881 MB / 1.293 GB, free: 10.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/1.226, allocations: 32.77 kB / 1.293 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.226, allocations: 2.906 kB / 1.293 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/1.226, allocations: 7.469 kB / 1.293 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/1.227, allocations: 98.34 kB / 1.293 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.227, allocations: 13.72 kB / 1.293 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/1.227, allocations: 54.86 kB / 1.293 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/1.227, allocations: 19.22 kB / 1.293 GB, free: 10.76 MB / 1.014 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.0002578/1.228, allocations: 214.4 kB / 1.293 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.228, allocations: 78.23 kB / 1.293 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/1.228, allocations: 80.69 kB / 1.293 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.228, allocations: 4.406 kB / 1.293 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.228, allocations: 4.75 kB / 1.293 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.228, allocations: 5.969 kB / 1.293 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/1.229, allocations: 0.6288 MB / 1.294 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.229, allocations: 0.6562 kB / 1.294 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/1.229, allocations: 83.7 kB / 1.294 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.229, allocations: 3.5 kB / 1.294 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/1.229, allocations: 5.219 kB / 1.294 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.229, allocations: 4.234 kB / 1.294 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.229, allocations: 0 / 1.294 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/1.231, allocations: 0.7312 MB / 1.295 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/1.231, allocations: 200.4 kB / 1.295 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/1.231, allocations: 18.3 kB / 1.295 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/1.232, allocations: 28.72 kB / 1.295 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.232, allocations: 29.03 kB / 1.295 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/1.232, allocations: 17.47 kB / 1.295 GB, free: 9.527 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007447/1.233, allocations: 433.2 kB / 1.296 GB, free: 9.336 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.233, allocations: 0 / 1.296 GB, free: 9.336 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009134/1.233, allocations: 215.8 kB / 1.296 GB, free: 9.281 MB / 1.014 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.0002073/1.234, allocations: 119.8 kB / 1.296 GB, free: 9.176 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001858/1.236, allocations: 0.7451 MB / 1.297 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.236, allocations: 0 / 1.297 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005413/1.236, allocations: 203 kB / 1.297 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009821/1.237, allocations: 212.5 kB / 1.297 GB, free: 8.707 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/1.24, allocations: 1.204 MB / 1.298 GB, free: 8.031 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/1.24, allocations: 0.9168 MB / 1.299 GB, free: 7.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000453/1.241, allocations: 92.62 kB / 1.299 GB, free: 7.297 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/1.241, allocations: 47.05 kB / 1.299 GB, free: 7.289 MB / 1.014 GB Notification: Performance of SimCode: time 1.563e-06/1.241, allocations: 0 / 1.299 GB, free: 7.289 MB / 1.014 GB Notification: Performance of Templates: time 0.02202/1.263, allocations: 7.818 MB / 1.307 GB, free: 6.727 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.782318310812116]