Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, 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.001282/0.001282, allocations: 200 kB / 16.54 MB, free: 6.672 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 61.89 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4058, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003474/0.4093, allocations: 1.851 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.4113, allocations: 1.256 MB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.4115, allocations: 4 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.4118, allocations: 83.19 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.4119, allocations: 55.45 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.4124, allocations: 171.7 kB / 1.072 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.4129, allocations: 485 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.4133, allocations: 271.4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.4135, allocations: 179.3 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.4137, allocations: 199 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.4138, allocations: 52 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.4138, allocations: 52 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4139, allocations: 115.6 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.4141, allocations: 206.9 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.4146, allocations: 0.5609 MB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4146, allocations: 0 / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4146, allocations: 0 / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4146, allocations: 0 / 1.074 GB, free: 4.871 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001361/0.416, allocations: 0.7368 MB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4161, allocations: 8.031 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.211e-05/0.4162, allocations: 60.16 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.4166, allocations: 352.3 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.4166, allocations: 33.38 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.4167, allocations: 36.38 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.4174, allocations: 407.5 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4174, allocations: 192 / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.4175, allocations: 23.92 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4175, allocations: 8 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.4181, allocations: 279.9 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.4202, allocations: 1.386 MB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.4209, allocations: 242.8 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.4212, allocations: 120.8 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.4212, allocations: 4 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4212, allocations: 34.56 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.552e-06/0.4213, allocations: 0 / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006962/0.422, allocations: 298.9 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.422, allocations: 110.8 kB / 1.078 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.4225, allocations: 409.5 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4225, allocations: 25.7 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.4227, allocations: 247.8 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.4228, allocations: 78.91 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.4229, allocations: 65.94 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.423, allocations: 346.8 kB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.4233, allocations: 118.1 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.4236, allocations: 204.3 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.4242, allocations: 281.8 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4242, allocations: 0 / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007074/0.4249, allocations: 365 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.425, allocations: 9.25 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.425, allocations: 3.938 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.425, allocations: 7.938 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.4253, allocations: 75.89 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.4253, allocations: 4 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.4256, allocations: 55.59 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.4256, allocations: 16 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002633/0.4259, allocations: 200.8 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002224/0.4261, allocations: 183 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003072/0.4264, allocations: 237.4 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.4264, allocations: 4 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004902/0.4269, allocations: 310.6 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.427, allocations: 4 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.427, allocations: 4 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-06/0.427, allocations: 7.938 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.4272, allocations: 67.84 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4272, allocations: 4.219 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.4274, allocations: 39.73 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.4275, allocations: 12 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001286/0.4276, allocations: 205.3 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.4276, allocations: 35.53 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000504/0.4282, allocations: 244.9 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4282, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4282, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4282, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.4294, allocations: 0.7872 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4294, allocations: 0 / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.4296, allocations: 43.91 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.4296, allocations: 4 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.4296, allocations: 11.98 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4296, allocations: 0 / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4297, allocations: 4 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.4304, allocations: 467.2 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.4305, allocations: 124.7 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.4305, allocations: 8 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.4307, allocations: 19.98 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.4308, allocations: 15.92 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.4308, allocations: 11.98 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002816/0.4311, allocations: 283.1 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4311, allocations: 4 kB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004759/0.4316, allocations: 131.5 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0001859/0.4317, allocations: 115.2 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007784/0.4325, allocations: 401.2 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4325, allocations: 4 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.4327, allocations: 95.83 kB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.4333, allocations: 71.02 kB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.4346, allocations: 0.6785 MB / 1.084 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.435, allocations: 0.7997 MB / 1.085 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.4352, allocations: 47.23 kB / 1.085 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.4353, allocations: 27.44 kB / 1.085 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4353, allocations: 0 / 1.085 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.007797/0.4431, allocations: 3.464 MB / 1.089 GB, free: 4.828 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1)