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.00115/0.00115, allocations: 101.7 kB / 16.27 MB, free: 5.996 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.001073/0.001073, allocations: 182.3 kB / 17.19 MB, free: 5.609 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.43/1.43, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.093/2.093, allocations: 292.3 MB / 0.5495 GB, free: 17.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.002477/0.002477, allocations: 72.45 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3465, allocations: 114.5 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.005791/0.3523, allocations: 2.156 MB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004386/0.3568, allocations: 1.674 MB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.3573, allocations: 11.94 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.5645/0.9219, allocations: 83.62 kB / 0.7879 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006713/0.9226, allocations: 90.66 kB / 0.788 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009919/0.9236, allocations: 416.4 kB / 0.7884 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007497/0.9243, allocations: 0.7808 MB / 0.7891 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.9248, allocations: 327.3 kB / 0.7894 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.9251, allocations: 292.8 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.9253, allocations: 304.7 kB / 0.79 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.837e-05/0.9254, allocations: 85.25 kB / 0.7901 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.9256, allocations: 97.53 kB / 0.7902 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.9257, allocations: 143.8 kB / 0.7903 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.9259, allocations: 327.8 kB / 0.7906 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007018/0.9266, allocations: 0.8779 MB / 0.7915 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9267, allocations: 0 / 0.7915 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9267, allocations: 0 / 0.7915 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.9267, allocations: 0.6562 kB / 0.7915 GB, free: 45.5 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.001469/0.9282, allocations: 0.9861 MB / 0.7924 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9282, allocations: 12.81 kB / 0.7925 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.9284, allocations: 75.72 kB / 0.7925 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.9289, allocations: 436.2 kB / 0.7929 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.929, allocations: 43.56 kB / 0.793 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.9291, allocations: 60.53 kB / 0.793 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.9298, allocations: 0.4889 MB / 0.7935 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.9298, allocations: 1.734 kB / 0.7935 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.9299, allocations: 21.41 kB / 0.7935 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.9299, allocations: 14.28 kB / 0.7936 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.9305, allocations: 341.7 kB / 0.7939 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.9324, allocations: 1.566 MB / 0.7954 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/0.9331, allocations: 0.8755 MB / 0.7963 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.9335, allocations: 216.1 kB / 0.7965 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.9335, allocations: 10.72 kB / 0.7965 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.934, allocations: 269.7 kB / 0.7967 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.934, allocations: 0 / 0.7967 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47): time 0.0009377/0.935, allocations: 0.5245 MB / 0.7973 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.935, allocations: 107 kB / 0.7974 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.9354, allocations: 409.8 kB / 0.7977 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.9355, allocations: 50.36 kB / 0.7978 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.9357, allocations: 265.9 kB / 0.7981 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.9358, allocations: 152.2 kB / 0.7982 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.9359, allocations: 108.7 kB / 0.7983 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.936, allocations: 358 kB / 0.7986 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.9364, allocations: 192.2 kB / 0.7988 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.9368, allocations: 287.7 kB / 0.7991 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.9375, allocations: 457.8 kB / 0.7995 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9375, allocations: 0 / 0.7995 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001005/0.9385, allocations: 0.632 MB / 0.8002 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.9385, allocations: 73.33 kB / 0.8002 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9386, allocations: 0 / 0.8002 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.9386, allocations: 4.312 kB / 0.8002 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.9389, allocations: 85.55 kB / 0.8003 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.939, allocations: 6.188 kB / 0.8003 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.9395, allocations: 106 kB / 0.8004 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.9396, allocations: 22.95 kB / 0.8004 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004027/0.94, allocations: 297.4 kB / 0.8007 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003215/0.9403, allocations: 262.9 kB / 0.801 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004808/0.9408, allocations: 409.4 kB / 0.8014 GB, free: 40.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.9408, allocations: 1.062 kB / 0.8014 GB, free: 40.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008548/0.9417, allocations: 0.5787 MB / 0.8019 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.9417, allocations: 70.58 kB / 0.802 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.9417, allocations: 5.75 kB / 0.802 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.9417, allocations: 3.562 kB / 0.802 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.942, allocations: 74.97 kB / 0.8021 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.942, allocations: 4.094 kB / 0.8021 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.9426, allocations: 96.36 kB / 0.8022 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.9426, allocations: 24.2 kB / 0.8022 GB, free: 40.13 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.0001626/0.9428, allocations: 208.3 kB / 0.8024 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.9429, allocations: 54.53 kB / 0.8024 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.943, allocations: 61.52 kB / 0.8025 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.943, allocations: 6.031 kB / 0.8025 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.943, allocations: 0 / 0.8025 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.943, allocations: 4.172 kB / 0.8025 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.9446, allocations: 1.074 MB / 0.8036 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9446, allocations: 1.281 kB / 0.8036 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.945, allocations: 72.7 kB / 0.8036 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.945, allocations: 1.781 kB / 0.8036 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.945, allocations: 13.27 kB / 0.8036 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.945, allocations: 2 kB / 0.8036 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.945, allocations: 0.5 kB / 0.8036 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.9462, allocations: 0.6995 MB / 0.8043 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-05/0.9463, allocations: 134 kB / 0.8045 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.9464, allocations: 8.156 kB / 0.8045 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.9466, allocations: 23.5 kB / 0.8045 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.9467, allocations: 27.12 kB / 0.8045 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.9467, allocations: 20.89 kB / 0.8045 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003866/0.9471, allocations: 290.3 kB / 0.8048 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9471, allocations: 0 / 0.8048 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007851/0.9479, allocations: 221.1 kB / 0.805 GB, free: 38.54 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.0002332/0.9482, allocations: 122.7 kB / 0.8051 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.9499, allocations: 0.9529 MB / 0.8061 GB, free: 37.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9499, allocations: 2.781 kB / 0.8061 GB, free: 37.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.9503, allocations: 194.1 kB / 0.8063 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.951, allocations: 106.6 kB / 0.8064 GB, free: 37.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.9526, allocations: 0.9659 MB / 0.8073 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.9531, allocations: 0.8575 MB / 0.8081 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.9532, allocations: 42.45 kB / 0.8082 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.9532, allocations: 0 / 0.8082 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.01459/0.9678, allocations: 6.442 MB / 0.8145 GB, free: 36.04 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)