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.001093/0.001093, allocations: 110.1 kB / 15.99 MB, free: 6.359 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.001114/0.001114, allocations: 199.3 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.836/1.836, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001361/0.001361, allocations: 65.62 kB / 0.6717 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2412, allocations: 114.5 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.003159/0.2444, allocations: 1.872 MB / 0.7854 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2461, allocations: 1.218 MB / 0.7866 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.2463, allocations: 11.94 kB / 0.7866 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.2465, allocations: 51.52 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.2468, allocations: 39.73 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.2471, allocations: 143.8 kB / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.2476, allocations: 473 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.2479, allocations: 238.3 kB / 0.7875 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2481, allocations: 167.3 kB / 0.7876 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.2483, allocations: 191 kB / 0.7878 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.2484, allocations: 48 kB / 0.7879 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.001e-05/0.2484, allocations: 48 kB / 0.7879 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.2485, allocations: 107.6 kB / 0.788 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.2487, allocations: 198.8 kB / 0.7882 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.249, allocations: 435.2 kB / 0.7886 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.249, allocations: 0 / 0.7886 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2491, allocations: 0 / 0.7886 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2491, allocations: 0 / 0.7886 GB, free: 8.633 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.001183/0.2503, allocations: 0.7248 MB / 0.7893 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2503, allocations: 12.03 kB / 0.7893 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.145e-05/0.2504, allocations: 52.36 kB / 0.7894 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.2508, allocations: 351.8 kB / 0.7897 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.2509, allocations: 25.03 kB / 0.7897 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.2509, allocations: 36.38 kB / 0.7898 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.2515, allocations: 358.4 kB / 0.7901 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2516, allocations: 4.188 kB / 0.7901 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.2516, allocations: 15.94 kB / 0.7901 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.2516, allocations: 8 kB / 0.7901 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.2521, allocations: 250.5 kB / 0.7904 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.2538, allocations: 1.271 MB / 0.7916 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.2543, allocations: 194.7 kB / 0.7918 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2545, allocations: 100.8 kB / 0.7919 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2545, allocations: 0 / 0.7919 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.2546, allocations: 34.56 kB / 0.7919 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 9.42e-07/0.2546, allocations: 0 / 0.7919 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000594/0.2552, allocations: 265 kB / 0.7922 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.2552, allocations: 106.8 kB / 0.7923 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.2557, allocations: 409.7 kB / 0.7927 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2557, allocations: 25.7 kB / 0.7927 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.2559, allocations: 243.8 kB / 0.7929 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.2559, allocations: 63.17 kB / 0.793 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.256, allocations: 53.7 kB / 0.793 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2562, allocations: 354.7 kB / 0.7934 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.2564, allocations: 104.8 kB / 0.7935 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.2566, allocations: 181.4 kB / 0.7937 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.257, allocations: 232.5 kB / 0.7939 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.257, allocations: 4 kB / 0.7939 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005472/0.2576, allocations: 320.9 kB / 0.7942 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2576, allocations: 4 kB / 0.7942 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2576, allocations: 0 / 0.7942 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2577, allocations: 8.156 kB / 0.7942 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.2579, allocations: 71.89 kB / 0.7943 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.2579, allocations: 0 / 0.7943 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.2581, allocations: 43.67 kB / 0.7943 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2582, allocations: 16.06 kB / 0.7943 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002184/0.2584, allocations: 188.7 kB / 0.7945 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001669/0.2586, allocations: 161.8 kB / 0.7947 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002188/0.2588, allocations: 192.8 kB / 0.7948 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.275e-06/0.2588, allocations: 3.938 kB / 0.7948 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003607/0.2592, allocations: 273 kB / 0.7951 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.2592, allocations: 4 kB / 0.7951 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.2592, allocations: 4 kB / 0.7951 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.2592, allocations: 4 kB / 0.7951 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.2594, allocations: 51.92 kB / 0.7952 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2594, allocations: 8.141 kB / 0.7952 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2596, allocations: 31.83 kB / 0.7952 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2596, allocations: 8 kB / 0.7952 GB, free: 1.477 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.2597, allocations: 200.9 kB / 0.7954 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.2598, allocations: 35.53 kB / 0.7954 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.194e-05/0.2599, allocations: 39.25 kB / 0.7955 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2599, allocations: 0 / 0.7955 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2599, allocations: 3.938 kB / 0.7955 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2599, allocations: 7.984 kB / 0.7955 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.261, allocations: 0.6794 MB / 0.7962 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.261, allocations: 0 / 0.7962 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.2612, allocations: 31.97 kB / 0.7962 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2612, allocations: 8.062 kB / 0.7962 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2612, allocations: 4 kB / 0.7962 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2612, allocations: 4 kB / 0.7962 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2612, allocations: 3.938 kB / 0.7962 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.2619, allocations: 399 kB / 0.7966 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.262, allocations: 112.9 kB / 0.7967 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.262, allocations: 11.94 kB / 0.7967 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.2622, allocations: 15.97 kB / 0.7967 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.2622, allocations: 8.125 kB / 0.7967 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2623, allocations: 11.98 kB / 0.7967 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002923/0.2626, allocations: 295.2 kB / 0.797 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2626, allocations: 0 / 0.797 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004538/0.263, allocations: 115.5 kB / 0.7971 GB, free: 15.4 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 (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.0001654/0.2632, allocations: 111.2 kB / 0.7972 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006179/0.2638, allocations: 342.4 kB / 0.7976 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.2638, allocations: 0 / 0.7976 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.264, allocations: 75.89 kB / 0.7976 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.2646, allocations: 80.98 kB / 0.7977 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2659, allocations: 0.8031 MB / 0.7985 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2662, allocations: 0.7879 MB / 0.7993 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.2663, allocations: 27.44 kB / 0.7993 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2663, allocations: 3.938 kB / 0.7993 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.006188/0.2725, allocations: 4.184 MB / 0.8034 GB, free: 8.949 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (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)