Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.013/3.013, allocations: 287.3 MB / 302.3 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 176.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 92.98 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004791, allocations: 20.23 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003945/0.2165, allocations: 2.642 MB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003358/0.2199, allocations: 1.642 MB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.2206, allocations: 16 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.2207, allocations: 71.11 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007522/0.2215, allocations: 151.5 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.2222, allocations: 239.7 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.2234, allocations: 0.6049 MB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007607/0.2242, allocations: 447.6 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.2245, allocations: 242.6 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.2249, allocations: 298 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.303e-05/0.225, allocations: 28 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.2251, allocations: 24 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.2252, allocations: 127.4 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2254, allocations: 169.1 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.2265, allocations: 0.9742 MB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2265, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2265, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.2265, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003018/0.2296, allocations: 1.194 MB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.2296, allocations: 16.02 kB / 0.9869 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002528/0.2299, allocations: 139.4 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.2301, allocations: 122.5 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.2313, allocations: 0.5628 MB / 0.9877 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.2314, allocations: 66 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.2316, allocations: 99.91 kB / 0.9879 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.2337, allocations: 0.8432 MB / 0.9887 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.2338, allocations: 0 / 0.9887 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.2339, allocations: 40 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.234, allocations: 28 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.2359, allocations: 0.6207 MB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009031/0.245, allocations: 2.728 MB / 0.9921 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/0.2486, allocations: 1.327 MB / 0.9934 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.2488, allocations: 12.56 kB / 0.9934 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.2505, allocations: 343.1 kB / 0.9937 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 6.161e-06/0.2506, allocations: 3.938 kB / 0.9937 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.004065/0.2546, allocations: 0.8105 MB / 0.9945 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.2548, allocations: 166.7 kB / 0.9946 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.2563, allocations: 0.5902 MB / 0.9952 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.2565, allocations: 41.64 kB / 0.9953 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.2571, allocations: 424 kB / 0.9957 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.2575, allocations: 232.5 kB / 0.9959 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.2575, allocations: 12 kB / 0.9959 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2578, allocations: 386.8 kB / 0.9963 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.259, allocations: 225.2 kB / 0.9965 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.2605, allocations: 349.4 kB / 0.9968 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.262, allocations: 263.1 kB / 0.9971 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.262, allocations: 4 kB / 0.9971 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003247/0.2653, allocations: 0.676 MB / 0.9977 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.2655, allocations: 362.7 kB / 0.9981 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.2655, allocations: 0 / 0.9981 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.2655, allocations: 7.953 kB / 0.9981 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.2673, allocations: 155.8 kB / 0.9982 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.2674, allocations: 8 kB / 0.9982 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.2686, allocations: 107.3 kB / 0.9983 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.2688, allocations: 20 kB / 0.9984 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2688, allocations: 5.875 kB / 0.9984 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001805/0.2706, allocations: 475.6 kB / 0.9988 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2707, allocations: 0 / 0.9988 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2707, allocations: 4 kB / 0.9988 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.2721, allocations: 123.8 kB / 0.9989 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.2722, allocations: 4 kB / 0.9989 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009403/0.2731, allocations: 87.44 kB / 0.999 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.2732, allocations: 20 kB / 0.9991 GB, free: 6.441 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.000666/0.2739, allocations: 296.9 kB / 0.9993 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.2741, allocations: 75.06 kB / 0.9994 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.2744, allocations: 86.94 kB / 0.9995 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2744, allocations: 8 kB / 0.9995 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2744, allocations: 4 kB / 0.9995 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.2744, allocations: 0 / 0.9995 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004858/0.2793, allocations: 1.586 MB / 1.001 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.2794, allocations: 0 / 1.001 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.281, allocations: 131.8 kB / 1.001 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.281, allocations: 7.938 kB / 1.001 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/0.2811, allocations: 20 kB / 1.001 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.2812, allocations: 7.938 kB / 1.001 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2812, allocations: 4 kB / 1.001 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/0.285, allocations: 1.01 MB / 1.002 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.2853, allocations: 156 kB / 1.002 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.2855, allocations: 16 kB / 1.002 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.2862, allocations: 55.95 kB / 1.002 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2863, allocations: 44.45 kB / 1.002 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.2864, allocations: 20 kB / 1.002 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006645/0.287, allocations: 419.1 kB / 1.003 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2871, allocations: 0 / 1.003 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000973/0.288, allocations: 302.4 kB / 1.003 GB, free: 2.113 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * 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.002907/0.291, allocations: 1.586 MB / 1.005 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002471/0.2935, allocations: 0.8243 MB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.2935, allocations: 4 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009872/0.2945, allocations: 295.1 kB / 1.006 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.2957, allocations: 131.2 kB / 1.006 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.3078, allocations: 4.976 MB / 1.011 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.3085, allocations: 1.001 MB / 1.012 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006281/0.3092, allocations: 85.2 kB / 1.012 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007818/0.31, allocations: 339.3 kB / 1.012 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.273e-06/0.31, allocations: 0 / 1.012 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05135/0.3614, allocations: 13.36 MB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.3618, allocations: 197.3 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/3.314, allocations: 0 / 1.025 GB, free: 11.38 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)