Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001199/0.001198, allocations: 192.4 kB / 376.9 MB, free: 1.824 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.259/1.259, allocations: 205 MB / 0.6353 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008764/0.0008763, allocations: 96.62 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009338/0.0009339, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.199, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005396/0.2045, allocations: 4.376 MB / 0.9865 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2066, allocations: 1.061 MB / 0.9876 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.2072, allocations: 23.94 kB / 0.9876 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.2077, allocations: 138.7 kB / 0.9877 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.2083, allocations: 103.2 kB / 0.9878 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.2089, allocations: 323.7 kB / 0.9881 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.2099, allocations: 1.077 MB / 0.9892 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.2107, allocations: 0.6511 MB / 0.9898 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.211, allocations: 346.2 kB / 0.9901 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.2114, allocations: 441.3 kB / 0.9906 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.2115, allocations: 64 kB / 0.9906 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.2115, allocations: 64 kB / 0.9907 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2117, allocations: 203.1 kB / 0.9909 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.212, allocations: 476.8 kB / 0.9913 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.2129, allocations: 1.359 MB / 0.9927 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2129, allocations: 0 / 0.9927 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2129, allocations: 0 / 0.9927 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.2129, allocations: 0 / 0.9927 GB, free: 15.65 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002018/0.2149, allocations: 1.395 MB / 0.994 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.215, allocations: 8.031 kB / 0.994 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2151, allocations: 127.4 kB / 0.9941 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/0.2159, allocations: 0.6217 MB / 0.9948 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.2159, allocations: 70.38 kB / 0.9948 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.216, allocations: 104.3 kB / 0.9949 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.2173, allocations: 0.9023 MB / 0.9958 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2174, allocations: 4.125 kB / 0.9958 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.96e-05/0.2174, allocations: 39.94 kB / 0.9958 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.2175, allocations: 24 kB / 0.9959 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.2186, allocations: 0.6597 MB / 0.9965 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/0.2221, allocations: 2.849 MB / 0.9993 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.2232, allocations: 0.6911 MB / 1 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.2238, allocations: 402.8 kB / 1 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.2239, allocations: 8.656 kB / 1 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006281/0.2245, allocations: 368.3 kB / 1.001 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 1.854e-06/0.2245, allocations: 0 / 1.001 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.00148/0.226, allocations: 0.8404 MB / 1.002 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.2261, allocations: 166.9 kB / 1.002 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.2267, allocations: 0.6293 MB / 1.002 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.2268, allocations: 37.7 kB / 1.002 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.2271, allocations: 460.2 kB / 1.003 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.2272, allocations: 260.2 kB / 1.003 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.2274, allocations: 130.7 kB / 1.003 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2275, allocations: 338 kB / 1.003 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.228, allocations: 252.7 kB / 1.004 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.2285, allocations: 374 kB / 1.004 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.2295, allocations: 0.5613 MB / 1.005 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2295, allocations: 3.938 kB / 1.005 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001159/0.2306, allocations: 0.7464 MB / 1.005 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2307, allocations: 7.938 kB / 1.005 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2307, allocations: 0 / 1.005 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2307, allocations: 4.125 kB / 1.005 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.2313, allocations: 163.7 kB / 1.006 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.2313, allocations: 7.984 kB / 1.006 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.2316, allocations: 95.23 kB / 1.006 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.2317, allocations: 24 kB / 1.006 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004483/0.2321, allocations: 370 kB / 1.006 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003537/0.2325, allocations: 326.1 kB / 1.006 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006148/0.2331, allocations: 490.8 kB / 1.007 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.2331, allocations: 0 / 1.007 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.000799/0.2339, allocations: 0.641 MB / 1.007 GB, free: 116 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.234, allocations: 14.12 kB / 1.007 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.234, allocations: 0 / 1.007 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/0.234, allocations: 4 kB / 1.007 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.2344, allocations: 139.8 kB / 1.008 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2345, allocations: 12.06 kB / 1.008 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.2348, allocations: 75.48 kB / 1.008 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2348, allocations: 20 kB / 1.008 GB, free: 15.86 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * 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.0001532/0.235, allocations: 224.1 kB / 1.008 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.2351, allocations: 82.91 kB / 1.008 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.2352, allocations: 92.25 kB / 1.008 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.2353, allocations: 8 kB / 1.008 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2353, allocations: 4 kB / 1.008 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2353, allocations: 7.969 kB / 1.008 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.2374, allocations: 1.624 MB / 1.01 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2374, allocations: 0 / 1.01 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.2379, allocations: 135.8 kB / 1.01 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.2379, allocations: 4 kB / 1.01 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.238, allocations: 16 kB / 1.01 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.238, allocations: 4 kB / 1.01 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.238, allocations: 0 / 1.01 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008927/0.2469, allocations: 5.91 MB / 1.016 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.2471, allocations: 156 kB / 1.016 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.2471, allocations: 19.98 kB / 1.016 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.2475, allocations: 35.97 kB / 1.016 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.2475, allocations: 44.53 kB / 1.016 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.2476, allocations: 31.98 kB / 1.016 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004801/0.2481, allocations: 439.1 kB / 1.016 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2481, allocations: 0 / 1.016 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001095/0.2492, allocations: 434.2 kB / 1.017 GB, free: 6.387 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001803/0.2494, allocations: 135 kB / 1.017 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.251, allocations: 0.9113 MB / 1.018 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.251, allocations: 0 / 1.018 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.2515, allocations: 316.1 kB / 1.018 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.2523, allocations: 163 kB / 1.018 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.2553, allocations: 2.453 MB / 1.021 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.2559, allocations: 1.022 MB / 1.022 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.2563, allocations: 118 kB / 1.022 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.2565, allocations: 67.42 kB / 1.022 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of SimCode: time 1.583e-06/0.2565, allocations: 0 / 1.022 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.3393/0.5958, allocations: 9.152 MB / 1.031 GB, free: 96.59 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)