Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.807/1.807, allocations: 287.4 MB / 303.2 MB, free: 8.219 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.001505/0.001505, allocations: 178.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.001056/0.001056, allocations: 99.77 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 13.64 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002477/0.2752, allocations: 1.652 MB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.2781, allocations: 1.624 MB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.2785, allocations: 8 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.2788, allocations: 63.38 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.2792, allocations: 63.52 kB / 0.9826 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.2803, allocations: 314.3 kB / 0.9829 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007366/0.2811, allocations: 0.6567 MB / 0.9836 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006234/0.2817, allocations: 305.3 kB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.282, allocations: 199 kB / 0.9841 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.2823, allocations: 214.8 kB / 0.9843 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.438e-05/0.2824, allocations: 24 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.2826, allocations: 31.98 kB / 0.9843 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.2827, allocations: 83.55 kB / 0.9844 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.2828, allocations: 121.3 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007041/0.2835, allocations: 0.6664 MB / 0.9852 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.2836, allocations: 0 / 0.9852 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2836, allocations: 0 / 0.9852 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2836, allocations: 0 / 0.9852 GB, free: 22.15 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001827/0.2854, allocations: 0.8776 MB / 0.986 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/0.2855, allocations: 12.03 kB / 0.986 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.2857, allocations: 76.03 kB / 0.9861 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.2864, allocations: 434.9 kB / 0.9865 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.2864, allocations: 45.38 kB / 0.9866 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2866, allocations: 60.36 kB / 0.9866 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/0.2874, allocations: 0.4956 MB / 0.9871 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.2875, allocations: 192 / 0.9871 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.2876, allocations: 23.92 kB / 0.9871 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2876, allocations: 12 kB / 0.9871 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.2882, allocations: 355.8 kB / 0.9875 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.2901, allocations: 1.589 MB / 0.989 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/0.2909, allocations: 0.8985 MB / 0.9899 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.2912, allocations: 220.8 kB / 0.9901 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.2912, allocations: 11.92 kB / 0.9901 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005487/0.2918, allocations: 269.5 kB / 0.9904 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.846e-06/0.2918, allocations: 0 / 0.9904 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.0009372/0.2928, allocations: 0.5454 MB / 0.9909 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.2928, allocations: 115.2 kB / 0.991 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.2932, allocations: 405.9 kB / 0.9914 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.2933, allocations: 45.69 kB / 0.9915 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.2934, allocations: 264.9 kB / 0.9917 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/0.2935, allocations: 153.8 kB / 0.9919 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.2936, allocations: 12 kB / 0.9919 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2937, allocations: 358.8 kB / 0.9922 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.2941, allocations: 205 kB / 0.9924 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.2945, allocations: 291.4 kB / 0.9927 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.2952, allocations: 457.6 kB / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2952, allocations: 0 / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001158/0.2963, allocations: 0.6355 MB / 0.9937 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.2965, allocations: 199.3 kB / 0.9939 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.2965, allocations: 3.938 kB / 0.9939 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.2965, allocations: 8 kB / 0.9939 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.2969, allocations: 83.89 kB / 0.994 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.2969, allocations: 11.92 kB / 0.994 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.2975, allocations: 135.4 kB / 0.9942 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.2975, allocations: 20 kB / 0.9942 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.2975, allocations: 8 kB / 0.9942 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006917/0.2982, allocations: 0.525 MB / 0.9947 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2982, allocations: 8 kB / 0.9947 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.2983, allocations: 7.938 kB / 0.9947 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.2985, allocations: 75.84 kB / 0.9948 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2985, allocations: 4 kB / 0.9948 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.299, allocations: 121.4 kB / 0.9949 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.299, allocations: 27.98 kB / 0.9949 GB, free: 11.62 MB / 0.6198 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,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0002978/0.2993, allocations: 267 kB / 0.9952 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.2994, allocations: 47.38 kB / 0.9952 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.2995, allocations: 53.19 kB / 0.9953 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2995, allocations: 3.984 kB / 0.9953 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2996, allocations: 0 / 0.9953 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.2996, allocations: 128.4 kB / 0.9954 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.2997, allocations: 8 kB / 0.9954 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.2999, allocations: 31.98 kB / 0.9955 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.3, allocations: 28.39 kB / 0.9955 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009236/0.3009, allocations: 0.5386 MB / 0.996 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009282/0.3019, allocations: 0.8136 MB / 0.9968 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002698/0.3021, allocations: 191.5 kB / 0.997 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002439/0.3024, allocations: 283.2 kB / 0.9973 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of Backend: time 1.032e-06/0.3024, allocations: 0 / 0.9973 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.3038, allocations: 0.8992 MB / 0.9981 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001855/0.3057, allocations: 1.514 MB / 0.9996 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.01199/0.3177, allocations: 7.844 MB / 1.007 GB, free: 14.89 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)