Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001002/0.001002, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.0005739/0.0005741, allocations: 21.97 kB / 0.6736 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2431, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002014/0.2452, allocations: 1.397 MB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2468, allocations: 1.203 MB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.247, allocations: 11.94 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.705e-05/0.247, allocations: 27.66 kB / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.2473, allocations: 78.66 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.2476, allocations: 111.9 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.248, allocations: 269.5 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.2483, allocations: 183 kB / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.2484, allocations: 107.4 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2486, allocations: 131.2 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.2486, allocations: 12 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.2487, allocations: 16 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.2487, allocations: 59.69 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.115e-05/0.2488, allocations: 89.45 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.2492, allocations: 447 kB / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2492, allocations: 0 / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2492, allocations: 0 / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2492, allocations: 0 / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00105/0.2502, allocations: 0.6938 MB / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2503, allocations: 8.031 kB / 0.7918 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.2504, allocations: 47.44 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.2509, allocations: 359 kB / 0.7922 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.2509, allocations: 32.94 kB / 0.7923 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.251, allocations: 47.84 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.2516, allocations: 391 kB / 0.7927 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2516, allocations: 4 kB / 0.7927 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.2517, allocations: 15.98 kB / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2517, allocations: 12 kB / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.2522, allocations: 291.8 kB / 0.793 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.2541, allocations: 1.343 MB / 0.7943 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.2546, allocations: 246.8 kB / 0.7945 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.2547, allocations: 4 kB / 0.7945 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.2547, allocations: 34.56 kB / 0.7946 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.2547, allocations: 0 / 0.7946 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006229/0.2553, allocations: 304.2 kB / 0.7949 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.2554, allocations: 114.8 kB / 0.795 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.2559, allocations: 417.5 kB / 0.7954 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.2559, allocations: 29.7 kB / 0.7954 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2561, allocations: 255.8 kB / 0.7956 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.2561, allocations: 63.09 kB / 0.7957 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.2562, allocations: 4 kB / 0.7957 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2563, allocations: 346.8 kB / 0.796 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.2565, allocations: 108 kB / 0.7961 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.2568, allocations: 207.5 kB / 0.7963 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.2571, allocations: 119.9 kB / 0.7964 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2571, allocations: 3.938 kB / 0.7965 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006117/0.2577, allocations: 356.1 kB / 0.7968 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002888/0.258, allocations: 0.794 MB / 0.7976 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.258, allocations: 0 / 0.7976 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.258, allocations: 4 kB / 0.7976 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2583, allocations: 75.89 kB / 0.7976 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2583, allocations: 4 kB / 0.7976 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.2585, allocations: 59.58 kB / 0.7977 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2586, allocations: 11.98 kB / 0.7977 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.2586, allocations: 4 kB / 0.7977 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003134/0.2589, allocations: 235.6 kB / 0.7979 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2589, allocations: 4 kB / 0.7979 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.2589, allocations: 4 kB / 0.798 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2591, allocations: 51.92 kB / 0.798 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2591, allocations: 15.88 kB / 0.798 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.2593, allocations: 35.91 kB / 0.798 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2593, allocations: 16 kB / 0.7981 GB, free: 364 kB / 0.6075 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.2595, allocations: 244.9 kB / 0.7983 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.2595, allocations: 35.53 kB / 0.7983 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.2596, allocations: 35.61 kB / 0.7984 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2596, allocations: 0 / 0.7984 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2596, allocations: 7.953 kB / 0.7984 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2596, allocations: 4.031 kB / 0.7984 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2607, allocations: 0.7107 MB / 0.7991 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2607, allocations: 4.062 kB / 0.7991 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2609, allocations: 43.91 kB / 0.7991 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2609, allocations: 7.953 kB / 0.7991 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2609, allocations: 0 / 0.7991 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2609, allocations: 4 kB / 0.7991 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2609, allocations: 0 / 0.7991 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.2616, allocations: 468 kB / 0.7996 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.2617, allocations: 112.7 kB / 0.7997 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.2617, allocations: 8 kB / 0.7997 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2619, allocations: 19.98 kB / 0.7997 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.2619, allocations: 23.86 kB / 0.7997 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.262, allocations: 8 kB / 0.7997 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003017/0.2623, allocations: 295.1 kB / 0.8 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2623, allocations: 0 / 0.8 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004542/0.2627, allocations: 127.4 kB / 0.8001 GB, free: 14.09 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.2629, allocations: 111.2 kB / 0.8002 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000667/0.2636, allocations: 358.5 kB / 0.8006 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2636, allocations: 0 / 0.8006 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.2638, allocations: 96.7 kB / 0.8007 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.2642, allocations: 65.48 kB / 0.8007 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2654, allocations: 0.7868 MB / 0.8015 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2658, allocations: 0.8115 MB / 0.8023 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.2659, allocations: 43.27 kB / 0.8023 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.266, allocations: 31.42 kB / 0.8024 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.266, allocations: 0 / 0.8024 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.006192/0.2722, allocations: 3.024 MB / 0.8053 GB, free: 8.742 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) Environment - environmentSimulation: