Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008979, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008848/0.0008848, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.0005038/0.0005038, allocations: 16.97 kB / 0.6736 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2213, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002219/0.2236, allocations: 1.603 MB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2259, allocations: 1.511 MB / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.2263, allocations: 11.94 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2264, allocations: 35.58 kB / 0.7902 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004229/0.2269, allocations: 95.61 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.2275, allocations: 222.7 kB / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.2281, allocations: 381.3 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.2285, allocations: 226.1 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.2287, allocations: 163.2 kB / 0.7913 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.229, allocations: 198.8 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.229, allocations: 20 kB / 0.7915 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.949e-05/0.2291, allocations: 31.98 kB / 0.7915 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.2292, allocations: 71.61 kB / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.345e-05/0.2293, allocations: 113.4 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.2298, allocations: 0.6041 MB / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2298, allocations: 0 / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2298, allocations: 3.938 kB / 0.7923 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.2298, allocations: 0 / 0.7923 GB, free: 6.664 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00136/0.2312, allocations: 0.8213 MB / 0.7931 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2313, allocations: 12.03 kB / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.2314, allocations: 67.25 kB / 0.7931 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.232, allocations: 417.8 kB / 0.7935 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.232, allocations: 41 kB / 0.7936 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.2321, allocations: 55.98 kB / 0.7936 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.2329, allocations: 466.9 kB / 0.7941 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2329, allocations: 0 / 0.7941 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.2329, allocations: 23.98 kB / 0.7941 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.233, allocations: 12 kB / 0.7941 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006388/0.2336, allocations: 331.8 kB / 0.7944 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.2356, allocations: 1.48 MB / 0.7959 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.2365, allocations: 0.8719 MB / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.2366, allocations: 4 kB / 0.7967 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.237, allocations: 231.8 kB / 0.797 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.794e-06/0.237, allocations: 0 / 0.797 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.0009124/0.2379, allocations: 0.4925 MB / 0.7974 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.238, allocations: 122.6 kB / 0.7975 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.2384, allocations: 397.5 kB / 0.7979 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.2385, allocations: 33.7 kB / 0.798 GB, free: 492 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2386, allocations: 260.2 kB / 0.7982 GB, free: 228 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.2387, allocations: 138 kB / 0.7983 GB, free: 88 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.2388, allocations: 12 kB / 0.7984 GB, free: 76 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2389, allocations: 358.8 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.2393, allocations: 156.8 kB / 0.7988 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.2396, allocations: 266.9 kB / 0.7991 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.24, allocations: 218.4 kB / 0.7993 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.24, allocations: 0 / 0.7993 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008739/0.2409, allocations: 0.5314 MB / 0.7998 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002968/0.2412, allocations: 0.7444 MB / 0.8006 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2412, allocations: 7.984 kB / 0.8006 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2413, allocations: 4 kB / 0.8006 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.2416, allocations: 87.89 kB / 0.8006 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2416, allocations: 7.938 kB / 0.8007 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.242, allocations: 99.53 kB / 0.8008 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.2421, allocations: 16 kB / 0.8008 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.2421, allocations: 4 kB / 0.8008 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006267/0.2427, allocations: 425.4 kB / 0.8012 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2427, allocations: 4 kB / 0.8012 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/0.2427, allocations: 4 kB / 0.8012 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.243, allocations: 75.84 kB / 0.8013 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.243, allocations: 7.953 kB / 0.8013 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.2434, allocations: 90.94 kB / 0.8013 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.2434, allocations: 19.98 kB / 0.8014 GB, free: 12.86 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0002185/0.2436, allocations: 251.8 kB / 0.8016 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.2437, allocations: 43.44 kB / 0.8017 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.593e-05/0.2438, allocations: 52.75 kB / 0.8017 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2438, allocations: 7.938 kB / 0.8017 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2438, allocations: 7.953 kB / 0.8017 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2438, allocations: 0 / 0.8017 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.2452, allocations: 1.007 MB / 0.8027 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2452, allocations: 0 / 0.8027 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.2455, allocations: 79.84 kB / 0.8028 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2455, allocations: 0 / 0.8028 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.2456, allocations: 8 kB / 0.8028 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2456, allocations: 4 kB / 0.8028 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2456, allocations: 4 kB / 0.8028 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009891/0.2466, allocations: 0.6485 MB / 0.8034 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/0.2467, allocations: 124.5 kB / 0.8035 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.2467, allocations: 15.95 kB / 0.8036 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.247, allocations: 27.98 kB / 0.8036 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.247, allocations: 31.69 kB / 0.8036 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.247, allocations: 15.98 kB / 0.8036 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002728/0.2473, allocations: 271.2 kB / 0.8039 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2473, allocations: 3.938 kB / 0.8039 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005413/0.2479, allocations: 187.3 kB / 0.8041 GB, free: 9.988 MB / 0.6231 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: 4 ($whenCondition3,$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 (41): * Single equations (assignments): 40 * 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.0001867/0.2481, allocations: 119.2 kB / 0.8042 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.2492, allocations: 0.7186 MB / 0.8049 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2492, allocations: 0 / 0.8049 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.2495, allocations: 179.6 kB / 0.8051 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.25, allocations: 89.86 kB / 0.8051 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2513, allocations: 1.042 MB / 0.8062 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.2518, allocations: 0.8592 MB / 0.807 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.252, allocations: 55.36 kB / 0.8071 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.2521, allocations: 31.44 kB / 0.8071 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2521, allocations: 4 kB / 0.8071 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of Templates: time 0.01015/0.2622, allocations: 5.163 MB / 0.8121 GB, free: 1.707 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) Environment - environmentSimulation: