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.0008095/0.0008095, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001095/0.001095, allocations: 172.7 kB / 15.95 MB, free: 208 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.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.705/1.705, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004743/0.0004743, allocations: 19 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2142, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002747/0.217, allocations: 1.66 MB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.2202, allocations: 1.616 MB / 0.7905 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.2205, allocations: 11.94 kB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.2207, allocations: 51.45 kB / 0.7906 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.221, allocations: 71.48 kB / 0.7906 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.2218, allocations: 318.8 kB / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.2224, allocations: 0.6451 MB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.2228, allocations: 242.6 kB / 0.7918 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.2229, allocations: 199 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.2232, allocations: 210.8 kB / 0.7922 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/0.2232, allocations: 28 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2233, allocations: 43.91 kB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.2234, allocations: 79.56 kB / 0.7923 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.2235, allocations: 121.3 kB / 0.7924 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.224, allocations: 0.6625 MB / 0.7931 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.224, allocations: 0 / 0.7931 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2241, allocations: 0 / 0.7931 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.2241, allocations: 0 / 0.7931 GB, free: 5.953 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00126/0.2253, allocations: 0.8853 MB / 0.794 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2254, allocations: 8.031 kB / 0.794 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.2255, allocations: 75.16 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.226, allocations: 433.8 kB / 0.7945 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.2261, allocations: 45 kB / 0.7945 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.14e-05/0.2262, allocations: 56 kB / 0.7945 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.2269, allocations: 0.4911 MB / 0.795 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2269, allocations: 4 kB / 0.795 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.227, allocations: 24 kB / 0.7951 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.227, allocations: 12 kB / 0.7951 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.2276, allocations: 359.8 kB / 0.7954 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.2296, allocations: 1.578 MB / 0.7969 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.2304, allocations: 0.9022 MB / 0.7978 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.2308, allocations: 226 kB / 0.798 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.2308, allocations: 4 kB / 0.798 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004193/0.2313, allocations: 264.8 kB / 0.7983 GB, free: 316 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.743e-06/0.2313, allocations: 4 kB / 0.7983 GB, free: 312 kB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.0009605/0.2322, allocations: 0.5494 MB / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.2323, allocations: 111.2 kB / 0.7989 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.2327, allocations: 405.9 kB / 0.7993 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.2328, allocations: 41.7 kB / 0.7994 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.2329, allocations: 268.9 kB / 0.7996 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.591e-05/0.233, allocations: 149.8 kB / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.2331, allocations: 20 kB / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2332, allocations: 354.8 kB / 0.8001 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.2336, allocations: 197 kB / 0.8003 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.234, allocations: 295.3 kB / 0.8006 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.2344, allocations: 268.2 kB / 0.8009 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.2344, allocations: 0 / 0.8009 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009708/0.2354, allocations: 0.6314 MB / 0.8015 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.2355, allocations: 203.4 kB / 0.8017 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2355, allocations: 4 kB / 0.8017 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2355, allocations: 4 kB / 0.8017 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.2359, allocations: 95.83 kB / 0.8018 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2359, allocations: 4 kB / 0.8018 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.2364, allocations: 131.5 kB / 0.8019 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.2364, allocations: 28.08 kB / 0.8019 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.2364, allocations: 4 kB / 0.8019 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000768/0.2372, allocations: 0.5367 MB / 0.8024 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.2372, allocations: 0 / 0.8024 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/0.2372, allocations: 4 kB / 0.8025 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2375, allocations: 79.84 kB / 0.8025 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2375, allocations: 4 kB / 0.8025 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.2379, allocations: 119.6 kB / 0.8026 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.238, allocations: 23.98 kB / 0.8027 GB, free: 11.66 MB / 0.6231 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.0002159/0.2382, allocations: 261.7 kB / 0.8029 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.2383, allocations: 47.44 kB / 0.803 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.171e-05/0.2384, allocations: 53.17 kB / 0.803 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2384, allocations: 8 kB / 0.803 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2384, allocations: 4 kB / 0.803 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2384, allocations: 7.938 kB / 0.803 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.2397, allocations: 1.087 MB / 0.8041 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2398, allocations: 0 / 0.8041 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.2401, allocations: 79.91 kB / 0.8042 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2401, allocations: 0 / 0.8042 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.2401, allocations: 15.94 kB / 0.8042 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2401, allocations: 4 kB / 0.8042 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2401, allocations: 0 / 0.8042 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.2411, allocations: 0.7129 MB / 0.8049 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.2412, allocations: 132.4 kB / 0.805 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.2413, allocations: 11.94 kB / 0.805 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.2415, allocations: 31.94 kB / 0.8051 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.2416, allocations: 28.39 kB / 0.8051 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2416, allocations: 12 kB / 0.8051 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002836/0.2419, allocations: 295.1 kB / 0.8054 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2419, allocations: 0 / 0.8054 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005598/0.2424, allocations: 215.2 kB / 0.8056 GB, free: 8.578 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: 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 (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.0001951/0.2427, allocations: 119.9 kB / 0.8057 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.2439, allocations: 0.9423 MB / 0.8066 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.244, allocations: 4 kB / 0.8066 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.2443, allocations: 211 kB / 0.8068 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.2449, allocations: 93.44 kB / 0.8069 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.2463, allocations: 1.111 MB / 0.808 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2467, allocations: 0.8593 MB / 0.8088 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000202/0.2469, allocations: 55.66 kB / 0.8089 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.247, allocations: 43.42 kB / 0.8089 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.247, allocations: 0 / 0.8089 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of Templates: time 0.01121/0.2582, allocations: 6.479 MB / 0.8153 GB, free: 14.62 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: