Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 115.6 kB / 16.38 MB, free: 6.012 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.00188/0.00188, allocations: 186.9 kB / 17.31 MB, free: 5.613 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.155/2.155, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.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.001565/0.001565, allocations: 76.67 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2757, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.004093/0.2799, allocations: 2.157 MB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3952/0.6751, allocations: 1.673 MB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.6754, allocations: 5.406 kB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.6757, allocations: 88.08 kB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.676, allocations: 92.53 kB / 0.7887 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.6768, allocations: 413.8 kB / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.6773, allocations: 0.7751 MB / 0.7899 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.6777, allocations: 328.2 kB / 0.7902 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.6779, allocations: 300.3 kB / 0.7905 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.6782, allocations: 310.5 kB / 0.7908 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.6783, allocations: 84.41 kB / 0.7909 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.6784, allocations: 97.16 kB / 0.791 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.6785, allocations: 149 kB / 0.7911 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.6787, allocations: 328.4 kB / 0.7914 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.6793, allocations: 0.9055 MB / 0.7923 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6793, allocations: 2.719 kB / 0.7923 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6793, allocations: 2.625 kB / 0.7923 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.6793, allocations: 0 / 0.7923 GB, free: 46.11 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001378/0.6807, allocations: 0.9875 MB / 0.7933 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.6807, allocations: 7.25 kB / 0.7933 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.6809, allocations: 74.94 kB / 0.7933 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.6814, allocations: 444.6 kB / 0.7938 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.6814, allocations: 40.78 kB / 0.7938 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.6815, allocations: 62.8 kB / 0.7939 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/0.6822, allocations: 492.5 kB / 0.7943 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.6822, allocations: 1.266 kB / 0.7943 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.6823, allocations: 28.91 kB / 0.7944 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.6823, allocations: 10.59 kB / 0.7944 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.6828, allocations: 348.4 kB / 0.7947 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.6847, allocations: 1.559 MB / 0.7962 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.6854, allocations: 0.8713 MB / 0.7971 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.6857, allocations: 218.9 kB / 0.7973 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.6857, allocations: 13.33 kB / 0.7973 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.6861, allocations: 256.4 kB / 0.7975 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.6861, allocations: 0 / 0.7975 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47): time 0.0009525/0.6871, allocations: 0.5299 MB / 0.7981 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.6872, allocations: 111 kB / 0.7982 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.6875, allocations: 409.3 kB / 0.7986 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.6876, allocations: 40.27 kB / 0.7986 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.6878, allocations: 262.6 kB / 0.7988 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.569e-05/0.6878, allocations: 151.6 kB / 0.799 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.688, allocations: 111.2 kB / 0.7991 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.6881, allocations: 361 kB / 0.7994 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.6885, allocations: 194.3 kB / 0.7996 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.6889, allocations: 287.8 kB / 0.7999 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.6895, allocations: 452.3 kB / 0.8003 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6895, allocations: 2.031 kB / 0.8003 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001025/0.6905, allocations: 0.6283 MB / 0.8009 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.6906, allocations: 70.08 kB / 0.801 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6906, allocations: 1.781 kB / 0.801 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.6906, allocations: 8.734 kB / 0.801 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.691, allocations: 83.38 kB / 0.8011 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.691, allocations: 4.266 kB / 0.8011 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.6915, allocations: 98.78 kB / 0.8012 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.6916, allocations: 27.86 kB / 0.8012 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004/0.692, allocations: 302.4 kB / 0.8015 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003161/0.6923, allocations: 263.4 kB / 0.8018 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004576/0.6928, allocations: 415 kB / 0.8022 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.6928, allocations: 0 / 0.8022 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008199/0.6936, allocations: 0.5783 MB / 0.8027 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.6936, allocations: 71 kB / 0.8028 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6937, allocations: 7.531 kB / 0.8028 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.6937, allocations: 3.375 kB / 0.8028 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.694, allocations: 72.92 kB / 0.8029 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.694, allocations: 7.516 kB / 0.8029 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.6944, allocations: 92.41 kB / 0.803 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.6945, allocations: 23.38 kB / 0.803 GB, free: 40.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001307/0.6946, allocations: 212.2 kB / 0.8032 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.6947, allocations: 54.67 kB / 0.8032 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.511e-05/0.6948, allocations: 57.14 kB / 0.8033 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6948, allocations: 5.25 kB / 0.8033 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.6948, allocations: 0 / 0.8033 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6948, allocations: 2.625 kB / 0.8033 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.6963, allocations: 1.071 MB / 0.8044 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6964, allocations: 0.9375 kB / 0.8044 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.6967, allocations: 76.06 kB / 0.8044 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.6967, allocations: 0.9375 kB / 0.8044 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.6967, allocations: 13.38 kB / 0.8044 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6967, allocations: 2.688 kB / 0.8044 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6968, allocations: 0 / 0.8044 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.6978, allocations: 0.7026 MB / 0.8051 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.6979, allocations: 129.2 kB / 0.8053 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.698, allocations: 8 kB / 0.8053 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.6982, allocations: 23.23 kB / 0.8053 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.6983, allocations: 32.14 kB / 0.8053 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.6983, allocations: 19.88 kB / 0.8053 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003149/0.6986, allocations: 287.2 kB / 0.8056 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6986, allocations: 0 / 0.8056 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006588/0.6993, allocations: 218.5 kB / 0.8058 GB, free: 38.71 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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.0001782/0.6995, allocations: 121.9 kB / 0.8059 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.7009, allocations: 0.9348 MB / 0.8068 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7009, allocations: 5 kB / 0.8069 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.7013, allocations: 196.4 kB / 0.807 GB, free: 38.08 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.7019, allocations: 96.28 kB / 0.8071 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.7035, allocations: 0.9676 MB / 0.8081 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.7038, allocations: 0.8573 MB / 0.8089 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.704, allocations: 44.56 kB / 0.809 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.704, allocations: 1.094 kB / 0.809 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.01289/0.7169, allocations: 6.434 MB / 0.8152 GB, free: 36.26 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)