Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008823/0.0008823, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.0009365/0.0009366, allocations: 177.3 kB / 15.95 MB, free: 208 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.324/1.324, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.598/1.598, 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.0005645/0.0005645, allocations: 19.97 kB / 0.6736 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2309, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.00186/0.2328, allocations: 1.397 MB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2345, allocations: 1.211 MB / 0.7897 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.2348, allocations: 11.94 kB / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.685e-05/0.2349, allocations: 27.66 kB / 0.7897 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.2352, allocations: 70.7 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2355, allocations: 107.9 kB / 0.7899 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.236, allocations: 281.4 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.2362, allocations: 150 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.2364, allocations: 107.4 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2366, allocations: 135.2 kB / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.2366, allocations: 12 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.2366, allocations: 12 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.2367, allocations: 51.75 kB / 0.7906 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.043e-05/0.2368, allocations: 89.39 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.2371, allocations: 423.1 kB / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2371, allocations: 0 / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2371, allocations: 4 kB / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.2371, allocations: 0 / 0.7911 GB, free: 7.859 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001095/0.2382, allocations: 0.6663 MB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2383, allocations: 8.031 kB / 0.7917 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.52e-05/0.2384, allocations: 47.44 kB / 0.7918 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.2388, allocations: 358.7 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.2389, allocations: 24.66 kB / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.2389, allocations: 36 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.2395, allocations: 357.9 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2396, allocations: 4 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.2396, allocations: 12 kB / 0.7926 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2396, allocations: 11.94 kB / 0.7926 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.2401, allocations: 266.4 kB / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.2419, allocations: 1.283 MB / 0.7941 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.2424, allocations: 218.8 kB / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.2424, allocations: 0 / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2425, allocations: 42.5 kB / 0.7943 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.2425, allocations: 4 kB / 0.7943 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006131/0.2431, allocations: 280.5 kB / 0.7946 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.2432, allocations: 110.8 kB / 0.7947 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.2436, allocations: 405.6 kB / 0.7951 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.2436, allocations: 29.7 kB / 0.7951 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.2438, allocations: 239.9 kB / 0.7953 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.2439, allocations: 59.19 kB / 0.7954 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.2439, allocations: 4 kB / 0.7954 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.244, allocations: 350.8 kB / 0.7957 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.2442, allocations: 103.9 kB / 0.7958 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.2445, allocations: 185.3 kB / 0.796 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.2448, allocations: 123.9 kB / 0.7961 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2448, allocations: 0 / 0.7961 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000561/0.2453, allocations: 339.8 kB / 0.7965 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002634/0.2456, allocations: 0.6201 MB / 0.7971 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2456, allocations: 0 / 0.7971 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2457, allocations: 4 kB / 0.7971 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.2459, allocations: 63.91 kB / 0.7971 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2459, allocations: 3.984 kB / 0.7971 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.2462, allocations: 55.67 kB / 0.7972 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.2462, allocations: 12 kB / 0.7972 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.2462, allocations: 8.047 kB / 0.7972 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003073/0.2465, allocations: 219.6 kB / 0.7974 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2465, allocations: 3.984 kB / 0.7974 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.2465, allocations: 4 kB / 0.7974 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.2467, allocations: 52.06 kB / 0.7975 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2467, allocations: 8 kB / 0.7975 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.2469, allocations: 39.67 kB / 0.7975 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2469, allocations: 12 kB / 0.7975 GB, free: 0.9375 MB / 0.6075 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 (32): * Single equations (assignments): 32 * 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.0001805/0.2471, allocations: 225.1 kB / 0.7977 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.2472, allocations: 39.48 kB / 0.7978 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.2473, allocations: 35.25 kB / 0.7978 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2473, allocations: 4 kB / 0.7978 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2473, allocations: 0 / 0.7978 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2473, allocations: 3.984 kB / 0.7978 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2484, allocations: 0.7029 MB / 0.7985 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2484, allocations: 48 / 0.7985 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.2486, allocations: 43.89 kB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2486, allocations: 4 kB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2486, allocations: 4.062 kB / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.2486, allocations: 8 kB / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2486, allocations: 0 / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/0.2492, allocations: 443 kB / 0.799 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.2493, allocations: 120.7 kB / 0.7991 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.2494, allocations: 7.938 kB / 0.7991 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.2496, allocations: 27.97 kB / 0.7991 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.2496, allocations: 8 kB / 0.7991 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2496, allocations: 11.98 kB / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002883/0.2499, allocations: 295.1 kB / 0.7994 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2499, allocations: 0 / 0.7994 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004391/0.2504, allocations: 111.6 kB / 0.7995 GB, free: 14.75 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,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 (15): * Single equations (assignments): 15 * 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.0001568/0.2505, allocations: 103.2 kB / 0.7996 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006512/0.2512, allocations: 343.8 kB / 0.8 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2512, allocations: 0 / 0.8 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.2514, allocations: 92.64 kB / 0.8001 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.2518, allocations: 64.08 kB / 0.8001 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.253, allocations: 0.7476 MB / 0.8008 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2534, allocations: 0.8001 MB / 0.8016 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.2535, allocations: 38.95 kB / 0.8017 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.2536, allocations: 31.42 kB / 0.8017 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2536, allocations: 0 / 0.8017 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.006047/0.2596, allocations: 2.99 MB / 0.8046 GB, free: 9.52 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) Environment - environmentSimulation: