Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 174.8 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007437/0.0007439, allocations: 94.92 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 10.59 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2236, allocations: 106.3 MB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002495/0.2262, allocations: 2.431 MB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.2276, allocations: 0.8855 MB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.2279, allocations: 11.94 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.2281, allocations: 71.38 kB / 0.9048 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.2284, allocations: 47.66 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.2286, allocations: 155.8 kB / 0.905 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.229, allocations: 484.8 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.2293, allocations: 255.3 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.2294, allocations: 119.1 kB / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2296, allocations: 142.9 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.2296, allocations: 12 kB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.887e-05/0.2297, allocations: 12 kB / 0.906 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.2297, allocations: 71.56 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.2298, allocations: 192.4 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.2301, allocations: 455.1 kB / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2301, allocations: 0 / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.346e-06/0.2301, allocations: 0 / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2301, allocations: 3.938 kB / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009446/0.2311, allocations: 0.7094 MB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2311, allocations: 12.02 kB / 0.9074 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.2312, allocations: 56.28 kB / 0.9074 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.2316, allocations: 380.7 kB / 0.9078 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.2317, allocations: 29.38 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.2317, allocations: 36.38 kB / 0.9078 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.2323, allocations: 434.7 kB / 0.9083 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2324, allocations: 4 kB / 0.9083 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.2324, allocations: 16 kB / 0.9083 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2324, allocations: 12 kB / 0.9083 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.2329, allocations: 303.8 kB / 0.9086 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.2346, allocations: 1.711 MB / 0.9102 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.2352, allocations: 301 kB / 0.9105 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.2354, allocations: 128.8 kB / 0.9107 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.2355, allocations: 7.984 kB / 0.9107 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.2355, allocations: 38.56 kB / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.2355, allocations: 0 / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.00064/0.2362, allocations: 331.3 kB / 0.911 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.2362, allocations: 110.8 kB / 0.9111 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.2366, allocations: 437.8 kB / 0.9115 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.2366, allocations: 33.7 kB / 0.9116 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2368, allocations: 263.8 kB / 0.9118 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.2368, allocations: 75 kB / 0.9119 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.2369, allocations: 4 kB / 0.9119 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.237, allocations: 346.8 kB / 0.9122 GB, free: 52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.2372, allocations: 111.9 kB / 0.9123 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.2374, allocations: 201.1 kB / 0.9125 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.2378, allocations: 272.3 kB / 0.9128 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2378, allocations: 0 / 0.9128 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005446/0.2384, allocations: 370.7 kB / 0.9131 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.2385, allocations: 134.2 kB / 0.9133 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2385, allocations: 0 / 0.9133 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.2385, allocations: 4 kB / 0.9133 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.2388, allocations: 79.83 kB / 0.9133 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2388, allocations: 7.984 kB / 0.9134 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.239, allocations: 59.52 kB / 0.9134 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.2391, allocations: 12 kB / 0.9134 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.15e-06/0.2391, allocations: 4 kB / 0.9134 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002982/0.2394, allocations: 243.1 kB / 0.9137 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.2394, allocations: 0 / 0.9137 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.2394, allocations: 4 kB / 0.9137 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.2396, allocations: 55.92 kB / 0.9137 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2396, allocations: 7.938 kB / 0.9137 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.2398, allocations: 43.61 kB / 0.9138 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2398, allocations: 12 kB / 0.9138 GB, free: 50.33 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001512/0.2399, allocations: 233.2 kB / 0.914 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.24, allocations: 47.42 kB / 0.914 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.2401, allocations: 47.73 kB / 0.9141 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2401, allocations: 0 / 0.9141 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2401, allocations: 7.938 kB / 0.9141 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2401, allocations: 4 kB / 0.9141 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.2411, allocations: 0.7647 MB / 0.9148 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2412, allocations: 0 / 0.9148 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2414, allocations: 55.94 kB / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2414, allocations: 0 / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.2414, allocations: 8 kB / 0.9149 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2414, allocations: 4 kB / 0.9149 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2414, allocations: 0 / 0.9149 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.242, allocations: 477.4 kB / 0.9154 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.2421, allocations: 124.5 kB / 0.9155 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2422, allocations: 4 kB / 0.9155 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2423, allocations: 23.98 kB / 0.9155 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.2424, allocations: 15.98 kB / 0.9155 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2424, allocations: 7.984 kB / 0.9155 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002706/0.2427, allocations: 307.2 kB / 0.9158 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2427, allocations: 0 / 0.9158 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004216/0.2431, allocations: 127.5 kB / 0.9159 GB, free: 47.99 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001537/0.2433, allocations: 119.1 kB / 0.9161 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000641/0.2439, allocations: 378.7 kB / 0.9164 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.2439, allocations: 4.125 kB / 0.9164 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.2441, allocations: 99.89 kB / 0.9165 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.2448, allocations: 103.7 kB / 0.9166 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2462, allocations: 0.9173 MB / 0.9175 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.2464, allocations: 0.8118 MB / 0.9183 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2465, allocations: 31.44 kB / 0.9183 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2465, allocations: 0 / 0.9183 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.007365/0.2539, allocations: 4.702 MB / 0.9229 GB, free: 40.78 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)