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.001923/0.001924, allocations: 115.1 kB / 16.38 MB, free: 6.02 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.002159/0.002159, allocations: 185.2 kB / 17.31 MB, free: 5.617 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.598/1.598, 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 1.966/1.966, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.00148/0.001481, allocations: 71.84 kB / 0.673 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2238, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003374/0.2272, allocations: 2.072 MB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4632/0.6904, allocations: 1.592 MB / 0.7884 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002752/0.6908, allocations: 7.875 kB / 0.7884 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.6912, allocations: 82.84 kB / 0.7885 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.6915, allocations: 84.08 kB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.6923, allocations: 321.8 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.6929, allocations: 0.6756 MB / 0.7895 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.6934, allocations: 308.9 kB / 0.7898 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.6937, allocations: 252.8 kB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.6939, allocations: 281 kB / 0.7903 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.15e-05/0.694, allocations: 72.72 kB / 0.7904 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.6942, allocations: 87.5 kB / 0.7905 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.6943, allocations: 142.3 kB / 0.7906 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.6945, allocations: 292.5 kB / 0.7909 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.6953, allocations: 0.818 MB / 0.7917 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.6953, allocations: 3.531 kB / 0.7917 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6953, allocations: 1.469 kB / 0.7917 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.6953, allocations: 0 / 0.7917 GB, free: 46.12 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001576/0.6969, allocations: 0.9042 MB / 0.7926 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.697, allocations: 7.875 kB / 0.7926 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.6971, allocations: 68.38 kB / 0.7927 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.6977, allocations: 434.6 kB / 0.7931 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.6977, allocations: 38.5 kB / 0.7931 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.6978, allocations: 55.78 kB / 0.7932 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.6985, allocations: 467.8 kB / 0.7936 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.6986, allocations: 3.5 kB / 0.7936 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.6986, allocations: 22.66 kB / 0.7936 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.6986, allocations: 11.44 kB / 0.7936 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.6992, allocations: 327.5 kB / 0.794 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.7013, allocations: 1.443 MB / 0.7954 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/0.7022, allocations: 0.8534 MB / 0.7962 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.7026, allocations: 200.4 kB / 0.7964 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.7026, allocations: 5.875 kB / 0.7964 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.703, allocations: 235.3 kB / 0.7966 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 1.963e-06/0.7031, allocations: 0 / 0.7966 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.0009419/0.704, allocations: 481.3 kB / 0.7971 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.7041, allocations: 106.9 kB / 0.7972 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.7045, allocations: 404.7 kB / 0.7976 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.7046, allocations: 44.44 kB / 0.7976 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.7048, allocations: 256.7 kB / 0.7979 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/0.7048, allocations: 137.6 kB / 0.798 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.705, allocations: 90.47 kB / 0.7981 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.7051, allocations: 354.8 kB / 0.7984 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.7054, allocations: 167.5 kB / 0.7986 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.7058, allocations: 257.8 kB / 0.7988 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.7064, allocations: 397.4 kB / 0.7992 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7064, allocations: 4 kB / 0.7992 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009115/0.7073, allocations: 0.5122 MB / 0.7997 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.7074, allocations: 40.22 kB / 0.7997 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.7074, allocations: 3.016 kB / 0.7997 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.7074, allocations: 3.516 kB / 0.7997 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.7078, allocations: 94.61 kB / 0.7998 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.7078, allocations: 5.812 kB / 0.7998 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.7082, allocations: 75.22 kB / 0.7999 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.7083, allocations: 23.11 kB / 0.7999 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003609/0.7086, allocations: 261.6 kB / 0.8002 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003098/0.709, allocations: 235 kB / 0.8004 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004426/0.7094, allocations: 353.7 kB / 0.8007 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.7094, allocations: 0 / 0.8007 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0006796/0.7101, allocations: 485.7 kB / 0.8012 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.7102, allocations: 42.84 kB / 0.8013 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.7102, allocations: 2.438 kB / 0.8013 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.7102, allocations: 5.531 kB / 0.8013 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.7105, allocations: 72.53 kB / 0.8013 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7105, allocations: 8.891 kB / 0.8013 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.7108, allocations: 64.47 kB / 0.8014 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.7109, allocations: 17.55 kB / 0.8014 GB, free: 40.96 MB / 0.6544 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,pulse.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.711, allocations: 222.1 kB / 0.8016 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.7111, allocations: 43.69 kB / 0.8017 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.7112, allocations: 47.17 kB / 0.8017 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.7112, allocations: 6.609 kB / 0.8017 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7112, allocations: 2.797 kB / 0.8017 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.7113, allocations: 126.9 kB / 0.8018 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.7113, allocations: 17.11 kB / 0.8019 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.7115, allocations: 19.27 kB / 0.8019 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.7116, allocations: 27.97 kB / 0.8019 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000936/0.7125, allocations: 474.8 kB / 0.8024 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001065/0.7136, allocations: 0.7331 MB / 0.8031 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003042/0.7139, allocations: 165.1 kB / 0.8032 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003372/0.7143, allocations: 279.8 kB / 0.8035 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of Backend: time 7.62e-07/0.7143, allocations: 4 kB / 0.8035 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.7157, allocations: 0.6829 MB / 0.8042 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001834/0.7176, allocations: 1.295 MB / 0.8054 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.01684/0.7344, allocations: 7.151 MB / 0.8124 GB, free: 38.06 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (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)