Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001213/0.001213, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 72.19 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2791, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003576/0.2827, allocations: 1.85 MB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.2846, allocations: 1.263 MB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.285, allocations: 8 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.2853, allocations: 75.19 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.2856, allocations: 51.47 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.286, allocations: 167.7 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.2865, allocations: 481.1 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000442/0.287, allocations: 283.4 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.2872, allocations: 179.2 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.2874, allocations: 195 kB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.2875, allocations: 56 kB / 0.9548 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.2876, allocations: 52 kB / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.2877, allocations: 103.7 kB / 0.9549 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.2879, allocations: 214.7 kB / 0.9551 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.2884, allocations: 0.557 MB / 0.9557 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2885, allocations: 0 / 0.9557 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2885, allocations: 0 / 0.9557 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.2885, allocations: 4 kB / 0.9557 GB, free: 3.32 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001418/0.2899, allocations: 0.7368 MB / 0.9564 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.29, allocations: 16.03 kB / 0.9564 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.2901, allocations: 52.36 kB / 0.9564 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.2906, allocations: 344.2 kB / 0.9568 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.2906, allocations: 37.31 kB / 0.9568 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.2907, allocations: 40.38 kB / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.2914, allocations: 403.6 kB / 0.9572 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2914, allocations: 8.125 kB / 0.9572 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.2915, allocations: 19.94 kB / 0.9573 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.2915, allocations: 12 kB / 0.9573 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.2921, allocations: 275.9 kB / 0.9575 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.2943, allocations: 1.378 MB / 0.9589 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.295, allocations: 254.8 kB / 0.9591 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.2952, allocations: 119.4 kB / 0.9592 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2953, allocations: 3.906 kB / 0.9592 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.2953, allocations: 42.56 kB / 0.9593 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.2953, allocations: 0 / 0.9593 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0006798/0.296, allocations: 302.3 kB / 0.9596 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.2961, allocations: 106.8 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.2965, allocations: 409.5 kB / 0.9601 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.2966, allocations: 25.7 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2967, allocations: 247.8 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.2968, allocations: 74.91 kB / 0.9604 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2969, allocations: 70.02 kB / 0.9605 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2971, allocations: 346.8 kB / 0.9608 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.2973, allocations: 110.1 kB / 0.9609 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.2977, allocations: 208.3 kB / 0.9611 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.2982, allocations: 280.8 kB / 0.9614 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2982, allocations: 0 / 0.9614 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000707/0.2989, allocations: 367 kB / 0.9617 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2989, allocations: 7.984 kB / 0.9617 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.2989, allocations: 4 kB / 0.9617 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.299, allocations: 7.938 kB / 0.9617 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.2992, allocations: 71.84 kB / 0.9618 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2993, allocations: 4.219 kB / 0.9618 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.2995, allocations: 63.5 kB / 0.9619 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2996, allocations: 12 kB / 0.9619 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002606/0.2998, allocations: 196.8 kB / 0.9621 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002368/0.3001, allocations: 187 kB / 0.9622 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003228/0.3004, allocations: 239.6 kB / 0.9625 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.3004, allocations: 0 / 0.9625 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000509/0.3009, allocations: 314.8 kB / 0.9628 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.301, allocations: 8 kB / 0.9628 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.301, allocations: 0 / 0.9628 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.301, allocations: 8.219 kB / 0.9628 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3012, allocations: 71.78 kB / 0.9629 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3012, allocations: 4 kB / 0.9629 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3015, allocations: 31.83 kB / 0.9629 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3015, allocations: 19.98 kB / 0.9629 GB, free: 11.48 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.000138/0.3016, allocations: 196.1 kB / 0.9631 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.3017, allocations: 35.53 kB / 0.9631 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.3022, allocations: 246.6 kB / 0.9634 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3022, allocations: 7.938 kB / 0.9634 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3022, allocations: 0 / 0.9634 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3023, allocations: 7.922 kB / 0.9634 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.3035, allocations: 0.7832 MB / 0.9641 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3035, allocations: 4 kB / 0.9641 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.3037, allocations: 44 kB / 0.9642 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.3037, allocations: 3.984 kB / 0.9642 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3038, allocations: 12.14 kB / 0.9642 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3038, allocations: 8 kB / 0.9642 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.3038, allocations: 0 / 0.9642 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.3045, allocations: 459.1 kB / 0.9647 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-05/0.3046, allocations: 124.7 kB / 0.9648 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.3047, allocations: 4 kB / 0.9648 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3049, allocations: 15.98 kB / 0.9648 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.3049, allocations: 23.92 kB / 0.9648 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3049, allocations: 7.984 kB / 0.9648 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003053/0.3053, allocations: 283.2 kB / 0.9651 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3053, allocations: 0 / 0.9651 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005156/0.3058, allocations: 135.4 kB / 0.9652 GB, free: 8.984 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001569/0.3059, allocations: 107.2 kB / 0.9653 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008511/0.3068, allocations: 398 kB / 0.9657 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3068, allocations: 0 / 0.9657 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.307, allocations: 103.2 kB / 0.9658 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.3076, allocations: 66.7 kB / 0.9659 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.309, allocations: 0.6961 MB / 0.9665 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3094, allocations: 0.8034 MB / 0.9673 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.3095, allocations: 31.42 kB / 0.9674 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of SimCode: time 2.164e-06/0.3095, allocations: 0 / 0.9674 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of Templates: time 0.007102/0.3166, allocations: 4.331 MB / 0.9716 GB, free: 2.387 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches