Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001071/0.001071, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005872/0.005872, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.981/2.981, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005574/0.0005574, allocations: 15.41 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3852, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002123/0.3874, allocations: 1.498 MB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.389, allocations: 1.224 MB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.3892, allocations: 7.938 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.3894, allocations: 59.52 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.3895, allocations: 35.7 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3899, allocations: 143.8 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.3904, allocations: 453 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.3908, allocations: 238.3 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3909, allocations: 115.2 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3911, allocations: 143 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.3911, allocations: 16 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.92e-05/0.3911, allocations: 12 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.3912, allocations: 59.64 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.3914, allocations: 176.6 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.3918, allocations: 0.4945 MB / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3918, allocations: 0 / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.855e-06/0.3918, allocations: 0 / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3918, allocations: 0 / 1.079 GB, free: 2.828 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.001182/0.393, allocations: 0.6669 MB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3931, allocations: 12.03 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.3932, allocations: 52.31 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.3936, allocations: 336.3 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.3937, allocations: 29.38 kB / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.3937, allocations: 36.38 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.3944, allocations: 403.5 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3944, allocations: 4.188 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.3944, allocations: 19.92 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3945, allocations: 12 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.395, allocations: 287.9 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.3971, allocations: 1.366 MB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/0.398, allocations: 282.8 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.3983, allocations: 133.9 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.3983, allocations: 4 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3984, allocations: 34.56 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.3984, allocations: 0 / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0007569/0.3991, allocations: 335.8 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.3992, allocations: 106.8 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.3997, allocations: 401.6 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.3998, allocations: 29.7 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3999, allocations: 235.9 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.4, allocations: 78.81 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.4001, allocations: 37.7 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4002, allocations: 346.8 kB / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.4005, allocations: 123.9 kB / 1.084 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.4009, allocations: 214.9 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.4014, allocations: 287.2 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4015, allocations: 0 / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007491/0.4022, allocations: 374.6 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.4023, allocations: 150.2 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4023, allocations: 4 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4024, allocations: 4 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.4027, allocations: 79.89 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4027, allocations: 4 kB / 1.085 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.4029, allocations: 67.5 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.403, allocations: 8 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.403, allocations: 5.562 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004514/0.4034, allocations: 262.9 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4035, allocations: 7.938 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/0.4035, allocations: 4 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.4037, allocations: 63.84 kB / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.4037, allocations: 0 / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.4039, allocations: 51.58 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.4039, allocations: 12.16 kB / 1.085 GB, free: 11.63 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.0001947/0.4041, allocations: 233.1 kB / 1.086 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.4042, allocations: 31.62 kB / 1.086 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.4047, allocations: 264.9 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4048, allocations: 4 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4048, allocations: 7.875 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4048, allocations: 0 / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.4061, allocations: 0.86 MB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.4061, allocations: 4 kB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.4064, allocations: 51.91 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.4064, allocations: 4.25 kB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.4064, allocations: 11.98 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.4064, allocations: 7.984 kB / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4064, allocations: 0 / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.4072, allocations: 0.5116 MB / 1.087 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4073, allocations: 124.6 kB / 1.087 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.4074, allocations: 8 kB / 1.087 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.4076, allocations: 31.97 kB / 1.087 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.4076, allocations: 19.86 kB / 1.088 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4076, allocations: 12 kB / 1.088 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003167/0.408, allocations: 283.2 kB / 1.088 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.408, allocations: 0 / 1.088 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004509/0.4084, allocations: 123.6 kB / 1.088 GB, free: 8.906 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.000196/0.4086, allocations: 115.1 kB / 1.088 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008171/0.4094, allocations: 412.9 kB / 1.088 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4095, allocations: 4 kB / 1.088 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.4097, allocations: 113 kB / 1.089 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.4103, allocations: 64.36 kB / 1.089 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.4117, allocations: 0.8522 MB / 1.089 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.4121, allocations: 0.7921 MB / 1.09 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.4122, allocations: 42.95 kB / 1.09 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.4123, allocations: 31.42 kB / 1.09 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of SimCode: time 4.9e-07/0.4123, allocations: 0 / 1.09 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.007311/0.4197, allocations: 3.41 MB / 1.094 GB, free: 3.027 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1)