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.001629/0.001629, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.0018/0.0018, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.761/1.761, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.899/1.899, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.001518/0.001518, allocations: 75.88 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2881, allocations: 114.5 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.00347/0.2916, allocations: 1.831 MB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.2936, allocations: 1.242 MB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.2939, allocations: 8 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.2942, allocations: 67.27 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.2945, allocations: 63.39 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.2948, allocations: 167.7 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5212/0.816, allocations: 479.8 kB / 0.7878 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.8168, allocations: 235.7 kB / 0.7881 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.8171, allocations: 165.4 kB / 0.7882 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.8174, allocations: 186.1 kB / 0.7884 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.8174, allocations: 49.05 kB / 0.7885 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.746e-05/0.8175, allocations: 46.56 kB / 0.7885 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.8176, allocations: 99.64 kB / 0.7886 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.8178, allocations: 200.7 kB / 0.7888 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.8183, allocations: 0.5535 MB / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.8184, allocations: 0 / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.586e-06/0.8184, allocations: 0 / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.8184, allocations: 0 / 0.7893 GB, free: 45.94 MB / 0.6544 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.001166/0.8196, allocations: 0.7337 MB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.8196, allocations: 7.844 kB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.736e-05/0.8197, allocations: 51.94 kB / 0.7901 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.8201, allocations: 357.4 kB / 0.7904 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.8202, allocations: 27.28 kB / 0.7905 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.8202, allocations: 38.42 kB / 0.7905 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.8208, allocations: 351.5 kB / 0.7908 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.8208, allocations: 2.625 kB / 0.7908 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.8209, allocations: 18.41 kB / 0.7909 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.8209, allocations: 7.125 kB / 0.7909 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.8213, allocations: 249.5 kB / 0.7911 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.823, allocations: 1.255 MB / 0.7923 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.8235, allocations: 200.5 kB / 0.7925 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.8236, allocations: 98.42 kB / 0.7926 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.8237, allocations: 0 / 0.7926 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.8237, allocations: 38.25 kB / 0.7926 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.8237, allocations: 0.75 kB / 0.7926 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0005838/0.8243, allocations: 260.6 kB / 0.7929 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.8244, allocations: 102.8 kB / 0.793 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.8248, allocations: 413.7 kB / 0.7934 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.8248, allocations: 28.83 kB / 0.7934 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.8249, allocations: 251.3 kB / 0.7937 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.825, allocations: 51.52 kB / 0.7937 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.8251, allocations: 56.38 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.8252, allocations: 351.6 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.8253, allocations: 106.2 kB / 0.7942 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.8256, allocations: 179.6 kB / 0.7944 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.8259, allocations: 234.7 kB / 0.7946 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.826, allocations: 0 / 0.7946 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004943/0.8265, allocations: 328.7 kB / 0.7949 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8265, allocations: 7.438 kB / 0.7949 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8265, allocations: 3.562 kB / 0.7949 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.8265, allocations: 3.406 kB / 0.7949 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.8268, allocations: 56.52 kB / 0.795 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.8268, allocations: 6.094 kB / 0.795 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.827, allocations: 59.2 kB / 0.795 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.827, allocations: 6.906 kB / 0.795 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001962/0.8272, allocations: 190.9 kB / 0.7952 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001312/0.8273, allocations: 152.6 kB / 0.7954 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001881/0.8275, allocations: 193.8 kB / 0.7956 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.8275, allocations: 3.938 kB / 0.7956 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003175/0.8279, allocations: 277.1 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.8279, allocations: 8.844 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.8279, allocations: 0 / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.8279, allocations: 3.469 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.8281, allocations: 51.62 kB / 0.7959 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.8281, allocations: 0 / 0.7959 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.8282, allocations: 40.98 kB / 0.7959 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.8283, allocations: 10.38 kB / 0.7959 GB, free: 43.14 MB / 0.6544 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 8.593e-05/0.8284, allocations: 201.7 kB / 0.7961 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.8284, allocations: 32.97 kB / 0.7962 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.8285, allocations: 37.7 kB / 0.7962 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.8285, allocations: 0 / 0.7962 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8285, allocations: 0 / 0.7962 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.8285, allocations: 5.562 kB / 0.7962 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009325/0.8295, allocations: 0.6839 MB / 0.7969 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8295, allocations: 0 / 0.7969 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.8296, allocations: 34.55 kB / 0.7969 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8296, allocations: 3.469 kB / 0.7969 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.8297, allocations: 6.906 kB / 0.7969 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8297, allocations: 2.5 kB / 0.7969 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8297, allocations: 4 kB / 0.7969 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.8303, allocations: 392.9 kB / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.8303, allocations: 121.7 kB / 0.7974 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.8304, allocations: 7.75 kB / 0.7974 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.8306, allocations: 19.69 kB / 0.7974 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.8306, allocations: 15.62 kB / 0.7974 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.8306, allocations: 2.75 kB / 0.7974 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000293/0.8309, allocations: 291.7 kB / 0.7977 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8309, allocations: 0 / 0.7977 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004221/0.8314, allocations: 109.1 kB / 0.7978 GB, free: 42.2 MB / 0.6544 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.0001561/0.8315, allocations: 118.9 kB / 0.7979 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.8321, allocations: 329.3 kB / 0.7983 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8321, allocations: 0.625 kB / 0.7983 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.8323, allocations: 85.94 kB / 0.7983 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.8329, allocations: 67.03 kB / 0.7984 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.8341, allocations: 0.6177 MB / 0.799 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.8343, allocations: 0.7881 MB / 0.7998 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.8345, allocations: 40.5 kB / 0.7998 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.8346, allocations: 25.94 kB / 0.7998 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.8346, allocations: 0 / 0.7998 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.008708/0.8433, allocations: 3.32 MB / 0.8031 GB, free: 40.89 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)