Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001822, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7451 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.23 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3239, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003289/0.3272, allocations: 1.862 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3293, allocations: 1.252 MB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.3295, allocations: 11.94 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.3299, allocations: 67.25 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.33, allocations: 55.45 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.3305, allocations: 175.7 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.331, allocations: 493 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.3315, allocations: 254.3 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.3317, allocations: 179.3 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3319, allocations: 191 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/0.332, allocations: 52 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.507e-05/0.332, allocations: 52 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3321, allocations: 107.6 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3323, allocations: 202.9 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.3329, allocations: 0.5376 MB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3329, allocations: 7.938 kB / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3329, allocations: 3.938 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3329, allocations: 0 / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001407/0.3343, allocations: 0.7213 MB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3344, allocations: 8.031 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.3345, allocations: 48.38 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.335, allocations: 344.2 kB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.3351, allocations: 25.38 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.3351, allocations: 40.38 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.3358, allocations: 395.5 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3358, allocations: 192 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.3359, allocations: 19.94 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3359, allocations: 8 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.3364, allocations: 271.8 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.3385, allocations: 1.355 MB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.3392, allocations: 254.8 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.3395, allocations: 120.7 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3395, allocations: 3.984 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3396, allocations: 38.5 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.3396, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0006891/0.3403, allocations: 312.5 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3403, allocations: 106.8 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.3408, allocations: 397.7 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.3408, allocations: 29.7 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.341, allocations: 235.8 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.341, allocations: 78.91 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.3411, allocations: 69.59 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3413, allocations: 342.8 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.3415, allocations: 120.8 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.3419, allocations: 206.9 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.3423, allocations: 264.3 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3424, allocations: 0 / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006904/0.3431, allocations: 377 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3431, allocations: 7.938 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3431, allocations: 4 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3431, allocations: 4 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.3434, allocations: 67.89 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3434, allocations: 4 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.3437, allocations: 63.66 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.3437, allocations: 12 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002682/0.344, allocations: 208.1 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002221/0.3442, allocations: 173.8 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000308/0.3445, allocations: 230.9 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.3446, allocations: 0 / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005411/0.3451, allocations: 330.5 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.3451, allocations: 4 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3451, allocations: 3.938 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.3451, allocations: 4 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.3454, allocations: 63.91 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3454, allocations: 7.938 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.3456, allocations: 35.73 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.3457, allocations: 16.16 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001277/0.3458, allocations: 200.7 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.3459, allocations: 35.56 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.3464, allocations: 240.9 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3464, allocations: 4 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3464, allocations: 4 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3464, allocations: 3.984 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.3477, allocations: 0.8481 MB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3477, allocations: 0 / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.3479, allocations: 47.91 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.348, allocations: 4 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.348, allocations: 8 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.348, allocations: 4.25 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.348, allocations: 4 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.3488, allocations: 491.7 kB / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.3489, allocations: 124.6 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.3489, allocations: 7.984 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3491, allocations: 23.98 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.3492, allocations: 23.86 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3492, allocations: 4 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002765/0.3495, allocations: 287.2 kB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3495, allocations: 0 / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004762/0.35, allocations: 123.5 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (21): * Single equations (assignments): 21 * 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.0001907/0.3501, allocations: 111.2 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008356/0.351, allocations: 407.5 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.351, allocations: 0.625 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3512, allocations: 109.2 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.3518, allocations: 79.36 kB / 1.084 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3532, allocations: 0.6931 MB / 1.084 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3535, allocations: 0.7918 MB / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.3537, allocations: 55.05 kB / 1.085 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.3538, allocations: 27.44 kB / 1.085 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3538, allocations: 4 kB / 1.085 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of Templates: time 0.00745/0.3612, allocations: 3.609 MB / 1.089 GB, free: 4.637 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1)