Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001457, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 222.1 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.633/1.633, allocations: 251.6 MB / 0.5089 GB, free: 3.336 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.91 kB / 0.6218 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7832/0.7846, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput): time 0.004784/0.7894, allocations: 2.832 MB / 0.7268 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.7915, allocations: 0.8932 MB / 0.7277 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.7918, allocations: 11.94 kB / 0.7277 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.7921, allocations: 67.38 kB / 0.7277 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.7924, allocations: 47.64 kB / 0.7278 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.7928, allocations: 159.8 kB / 0.7279 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.7934, allocations: 0.5164 MB / 0.7284 GB, free: 8.559 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.7938, allocations: 255 kB / 0.7287 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.7941, allocations: 175.2 kB / 0.7288 GB, free: 8.133 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.7943, allocations: 198.9 kB / 0.729 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.7943, allocations: 52 kB / 0.7291 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5e-05/0.7944, allocations: 48 kB / 0.7291 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.7945, allocations: 103.6 kB / 0.7292 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.7947, allocations: 218.7 kB / 0.7294 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.7952, allocations: 0.5625 MB / 0.73 GB, free: 6.961 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7952, allocations: 0 / 0.73 GB, free: 6.961 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7952, allocations: 0 / 0.73 GB, free: 6.961 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7952, allocations: 0 / 0.73 GB, free: 6.961 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001173/0.7964, allocations: 0.7716 MB / 0.7307 GB, free: 6.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7965, allocations: 12.03 kB / 0.7307 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.458e-05/0.7965, allocations: 52.38 kB / 0.7308 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.797, allocations: 380.7 kB / 0.7312 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.797, allocations: 29.38 kB / 0.7312 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.7971, allocations: 36.38 kB / 0.7312 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.7977, allocations: 396.3 kB / 0.7316 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7977, allocations: 0 / 0.7316 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.7978, allocations: 16 kB / 0.7316 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.7978, allocations: 8 kB / 0.7316 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.7983, allocations: 270.4 kB / 0.7319 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.8003, allocations: 1.502 MB / 0.7333 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.801, allocations: 250.8 kB / 0.7336 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.8013, allocations: 115.9 kB / 0.7337 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.8013, allocations: 3.953 kB / 0.7337 GB, free: 2.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.8014, allocations: 54.48 kB / 0.7338 GB, free: 2.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.8014, allocations: 0 / 0.7338 GB, free: 2.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0007275/0.8021, allocations: 285.1 kB / 0.734 GB, free: 2.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.8023, allocations: 102.8 kB / 0.7341 GB, free: 2.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.8028, allocations: 445.9 kB / 0.7345 GB, free: 2.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.8029, allocations: 29.7 kB / 0.7346 GB, free: 2.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.8031, allocations: 255.8 kB / 0.7348 GB, free: 1.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.8032, allocations: 71.02 kB / 0.7349 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.8033, allocations: 57.69 kB / 0.7349 GB, free: 1.617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.8035, allocations: 350.7 kB / 0.7353 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.8037, allocations: 116.7 kB / 0.7354 GB, free: 1.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.8041, allocations: 180.5 kB / 0.7356 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.8045, allocations: 239.4 kB / 0.7358 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.8045, allocations: 0 / 0.7358 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006104/0.8052, allocations: 355.1 kB / 0.7361 GB, free: 348 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.8052, allocations: 4 kB / 0.7361 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8052, allocations: 0 / 0.7361 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.8052, allocations: 4 kB / 0.7361 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.8055, allocations: 63.91 kB / 0.7362 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8055, allocations: 4 kB / 0.7362 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.8058, allocations: 59.62 kB / 0.7363 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.8058, allocations: 15.94 kB / 0.7363 GB, free: 196 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002709/0.8061, allocations: 196.2 kB / 0.7365 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001755/0.8063, allocations: 161.5 kB / 0.7366 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002548/0.8065, allocations: 201 kB / 0.7368 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.8065, allocations: 0 / 0.7368 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0003941/0.8069, allocations: 291.8 kB / 0.7371 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.8069, allocations: 8 kB / 0.7371 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.8069, allocations: 128 / 0.7371 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.807, allocations: 8 kB / 0.7371 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.8072, allocations: 59.91 kB / 0.7372 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.8072, allocations: 0 / 0.7372 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.8073, allocations: 35.73 kB / 0.7372 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.8074, allocations: 15.94 kB / 0.7372 GB, free: 15.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001343/0.8075, allocations: 196.2 kB / 0.7374 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.8076, allocations: 43.52 kB / 0.7374 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.8077, allocations: 39.78 kB / 0.7375 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8077, allocations: 8 kB / 0.7375 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8077, allocations: 0 / 0.7375 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8077, allocations: 0 / 0.7375 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.8089, allocations: 0.763 MB / 0.7382 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8089, allocations: 0 / 0.7382 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.8091, allocations: 43.91 kB / 0.7383 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8091, allocations: 3.938 kB / 0.7383 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.8092, allocations: 8 kB / 0.7383 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8092, allocations: 0 / 0.7383 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8092, allocations: 7.938 kB / 0.7383 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.8099, allocations: 458.3 kB / 0.7387 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.81, allocations: 124.5 kB / 0.7388 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.8101, allocations: 8 kB / 0.7388 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.8102, allocations: 19.98 kB / 0.7389 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.8103, allocations: 15.97 kB / 0.7389 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.8103, allocations: 4 kB / 0.7389 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003258/0.8106, allocations: 311.1 kB / 0.7392 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8106, allocations: 0 / 0.7392 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004742/0.8111, allocations: 127.5 kB / 0.7393 GB, free: 12.91 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001901/0.8113, allocations: 107.2 kB / 0.7394 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000714/0.812, allocations: 366.7 kB / 0.7398 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.812, allocations: 0.5 kB / 0.7398 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.8122, allocations: 95.83 kB / 0.7398 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.8129, allocations: 99.2 kB / 0.7399 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.8143, allocations: 0.8619 MB / 0.7408 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.8147, allocations: 0.8037 MB / 0.7416 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.8149, allocations: 43.27 kB / 0.7416 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-05/0.815, allocations: 35.42 kB / 0.7416 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.815, allocations: 0 / 0.7416 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.008014/0.823, allocations: 3.796 MB / 0.7454 GB, free: 6.707 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)