Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.711/2.711, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 186.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.374/2.374, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 93.09 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005406/0.0005409, allocations: 17.44 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2817, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.007238/0.289, allocations: 2.894 MB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006852/0.2959, allocations: 2.007 MB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.2975, allocations: 19.94 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.2983, allocations: 79.03 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.3005, allocations: 187.3 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.3031, allocations: 362 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.3061, allocations: 0.6949 MB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.3076, allocations: 395.9 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008764/0.3086, allocations: 278.6 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008303/0.3095, allocations: 330 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003502/0.3099, allocations: 32 kB / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.3102, allocations: 47.98 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.3104, allocations: 131.3 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.3108, allocations: 173.1 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.3131, allocations: 1.072 MB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3131, allocations: 0 / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.188e-06/0.3132, allocations: 0 / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.543e-05/0.3132, allocations: 0 / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.005026/0.3183, allocations: 1.266 MB / 0.9879 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.3184, allocations: 12.02 kB / 0.9879 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.319, allocations: 118.6 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.3215, allocations: 0.6181 MB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.3219, allocations: 66 kB / 0.9887 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009201/0.3229, allocations: 95.91 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/0.3268, allocations: 0.8206 MB / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.3269, allocations: 0 / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.327, allocations: 35.98 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.327, allocations: 23.98 kB / 0.9896 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.3292, allocations: 0.6402 MB / 0.9903 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.3355, allocations: 2.855 MB / 0.993 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.3381, allocations: 0.7327 MB / 0.9938 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-05/0.3382, allocations: 8.547 kB / 0.9938 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.3393, allocations: 355.5 kB / 0.9941 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.657e-06/0.3393, allocations: 0 / 0.9941 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.002826/0.3421, allocations: 0.8142 MB / 0.9949 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/0.3423, allocations: 192.5 kB / 0.9951 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.3435, allocations: 0.6999 MB / 0.9958 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.3437, allocations: 41.7 kB / 0.9958 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.3441, allocations: 459.7 kB / 0.9963 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.3443, allocations: 197.1 kB / 0.9964 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.3444, allocations: 15.94 kB / 0.9965 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.3445, allocations: 333.9 kB / 0.9968 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009866/0.3455, allocations: 273.5 kB / 0.997 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.3466, allocations: 456.8 kB / 0.9975 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3477, allocations: 344.7 kB / 0.9978 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3477, allocations: 0 / 0.9978 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002534/0.3502, allocations: 0.8412 MB / 0.9986 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002821/0.3506, allocations: 1.173 MB / 0.9998 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3506, allocations: 4 kB / 0.9998 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.3506, allocations: 8 kB / 0.9998 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.3517, allocations: 151.8 kB / 0.9999 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.3517, allocations: 8 kB / 0.9999 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.353, allocations: 169.7 kB / 1 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.3531, allocations: 31.92 kB / 1 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3531, allocations: 4 kB / 1 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001429/0.3545, allocations: 0.6021 MB / 1.001 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3546, allocations: 4 kB / 1.001 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3546, allocations: 8 kB / 1.001 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.3554, allocations: 115.8 kB / 1.001 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.3554, allocations: 15.89 kB / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009678/0.3564, allocations: 131.4 kB / 1.001 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.3565, allocations: 24 kB / 1.001 GB, free: 4.449 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005396/0.357, allocations: 301 kB / 1.001 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.3572, allocations: 82.97 kB / 1.001 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.3574, allocations: 88.02 kB / 1.001 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3574, allocations: 4 kB / 1.001 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3574, allocations: 3.953 kB / 1.001 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3574, allocations: 3.984 kB / 1.001 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3584, allocations: 0.7707 MB / 1.002 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3584, allocations: 0 / 1.002 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/0.3594, allocations: 127.8 kB / 1.002 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3594, allocations: 4 kB / 1.002 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.3595, allocations: 12 kB / 1.002 GB, free: 3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.3595, allocations: 3.984 kB / 1.002 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3595, allocations: 0 / 1.002 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.3623, allocations: 0.9369 MB / 1.003 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.3626, allocations: 172 kB / 1.003 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.3627, allocations: 12 kB / 1.003 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.3633, allocations: 60.08 kB / 1.004 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.3634, allocations: 36.52 kB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.3635, allocations: 19.98 kB / 1.004 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007991/0.3643, allocations: 0.4913 MB / 1.004 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3643, allocations: 7.875 kB / 1.004 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001098/0.3654, allocations: 314.6 kB / 1.004 GB, free: 0.9219 MB / 0.6198 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,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.3657, allocations: 115.9 kB / 1.004 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002978/0.3687, allocations: 1.077 MB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.3687, allocations: 0 / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.3698, allocations: 291.3 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.3711, allocations: 159.1 kB / 1.006 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.3761, allocations: 1.718 MB / 1.008 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.3775, allocations: 0.9977 MB / 1.009 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001302/0.3788, allocations: 93.91 kB / 1.009 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.3793, allocations: 63.42 kB / 1.009 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of SimCode: time 4.659e-06/0.3794, allocations: 0 / 1.009 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.0306/0.41, allocations: 8.403 MB / 1.017 GB, free: 3.992 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)