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.LimPIDInitialDerivativeOutput.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007627/0.007627, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001253/0.001253, allocations: 193 kB / 16.67 MB, free: 5.969 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.833/1.833, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.673/1.673, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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.00147/0.00147, allocations: 74.09 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3159, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput): time 0.003996/0.32, allocations: 2.806 MB / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3216, allocations: 0.9247 MB / 0.8318 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.3218, allocations: 11.94 kB / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.3222, allocations: 87.11 kB / 0.8318 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.3225, allocations: 75.34 kB / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.3228, allocations: 187.6 kB / 0.8321 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.3233, allocations: 0.5125 MB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.3236, allocations: 255 kB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3238, allocations: 183.2 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.324, allocations: 194.9 kB / 0.8332 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.3241, allocations: 52 kB / 0.8333 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-05/0.3241, allocations: 48 kB / 0.8333 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.3242, allocations: 107.6 kB / 0.8334 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.3244, allocations: 218.7 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.3249, allocations: 0.5798 MB / 0.8342 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3249, allocations: 0 / 0.8342 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3249, allocations: 7.922 kB / 0.8342 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.036e-06/0.3249, allocations: 4 kB / 0.8342 GB, free: 9.891 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00117/0.3261, allocations: 0.7715 MB / 0.8349 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3261, allocations: 8.031 kB / 0.8349 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3262, allocations: 56.38 kB / 0.835 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.3268, allocations: 380.7 kB / 0.8354 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3268, allocations: 25.38 kB / 0.8354 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.3269, allocations: 44.31 kB / 0.8354 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.3275, allocations: 380.4 kB / 0.8358 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3275, allocations: 0 / 0.8358 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.3275, allocations: 20 kB / 0.8358 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.3276, allocations: 8 kB / 0.8358 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.3281, allocations: 274.4 kB / 0.8361 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.3301, allocations: 1.486 MB / 0.8375 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.3307, allocations: 250.8 kB / 0.8378 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.3309, allocations: 116.7 kB / 0.8379 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3309, allocations: 4 kB / 0.8379 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.331, allocations: 34.56 kB / 0.8379 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.331, allocations: 4 kB / 0.8379 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0006272/0.3316, allocations: 292 kB / 0.8382 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.3317, allocations: 106.8 kB / 0.8383 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.3321, allocations: 437.8 kB / 0.8387 GB, free: 5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.3322, allocations: 33.7 kB / 0.8388 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3324, allocations: 251.9 kB / 0.839 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.3324, allocations: 67.09 kB / 0.8391 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3325, allocations: 61.61 kB / 0.8391 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3327, allocations: 358.7 kB / 0.8395 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.3329, allocations: 112.8 kB / 0.8396 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.3332, allocations: 188.4 kB / 0.8397 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.3336, allocations: 248.9 kB / 0.84 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3336, allocations: 0 / 0.84 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005645/0.3342, allocations: 339.5 kB / 0.8403 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3342, allocations: 8 kB / 0.8403 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3342, allocations: 0 / 0.8403 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.3342, allocations: 4.125 kB / 0.8403 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.3345, allocations: 71.89 kB / 0.8404 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3345, allocations: 7.938 kB / 0.8404 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3347, allocations: 51.56 kB / 0.8404 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.3348, allocations: 15.94 kB / 0.8405 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002279/0.335, allocations: 196 kB / 0.8406 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001792/0.3352, allocations: 157.6 kB / 0.8408 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002452/0.3354, allocations: 193.1 kB / 0.841 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.3355, allocations: 4 kB / 0.841 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0003921/0.3359, allocations: 296.1 kB / 0.8413 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.3359, allocations: 4 kB / 0.8413 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3359, allocations: 7.938 kB / 0.8413 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/0.3359, allocations: 7.938 kB / 0.8413 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.3361, allocations: 55.86 kB / 0.8413 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3361, allocations: 4 kB / 0.8413 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3363, allocations: 35.73 kB / 0.8414 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3363, allocations: 20.11 kB / 0.8414 GB, free: 2.117 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001374/0.3364, allocations: 200.1 kB / 0.8416 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.3365, allocations: 35.53 kB / 0.8416 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.3366, allocations: 39.8 kB / 0.8417 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3366, allocations: 4 kB / 0.8417 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3366, allocations: 0 / 0.8417 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3367, allocations: 3.984 kB / 0.8417 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3379, allocations: 0.758 MB / 0.8424 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3379, allocations: 4 kB / 0.8424 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.3381, allocations: 35.98 kB / 0.8424 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3381, allocations: 11.92 kB / 0.8425 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3381, allocations: 8.125 kB / 0.8425 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3381, allocations: 3.938 kB / 0.8425 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3381, allocations: 4 kB / 0.8425 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.3388, allocations: 446.3 kB / 0.8429 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.3389, allocations: 132.5 kB / 0.843 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.3389, allocations: 8 kB / 0.843 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3391, allocations: 15.98 kB / 0.843 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.3392, allocations: 19.92 kB / 0.8431 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3392, allocations: 8 kB / 0.8431 GB, free: 288 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003185/0.3395, allocations: 307.1 kB / 0.8434 GB, free: 15.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3395, allocations: 0 / 0.8434 GB, free: 15.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004507/0.34, allocations: 123.5 kB / 0.8435 GB, free: 15.86 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (19): * Single equations (assignments): 19 * 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.0001746/0.3401, allocations: 107.2 kB / 0.8436 GB, free: 15.75 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006703/0.3408, allocations: 359.6 kB / 0.8439 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3408, allocations: 0 / 0.8439 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.341, allocations: 99.77 kB / 0.844 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.3415, allocations: 103.5 kB / 0.8441 GB, free: 15.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3429, allocations: 0.7103 MB / 0.8448 GB, free: 14.45 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3432, allocations: 0.8038 MB / 0.8456 GB, free: 13.62 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.3434, allocations: 55.42 kB / 0.8457 GB, free: 13.56 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.3435, allocations: 27.44 kB / 0.8457 GB, free: 13.54 MB / 0.67 GB Notification: Performance of SimCode: time 2.575e-06/0.3435, allocations: 0 / 0.8457 GB, free: 13.54 MB / 0.67 GB Notification: Performance of Templates: time 0.009163/0.3527, allocations: 3.857 MB / 0.8494 GB, free: 9.75 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)