Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 187.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009475/0.0009474, allocations: 94.62 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004471, allocations: 10.72 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 106.3 MB / 0.9001 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00382/0.2695, allocations: 3.685 MB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.2726, allocations: 1.505 MB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006/0.2732, allocations: 31.81 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.2734, allocations: 67.23 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008177/0.2742, allocations: 243.1 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.2754, allocations: 0.5266 MB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.2764, allocations: 0.7821 MB / 0.9068 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005302/0.2769, allocations: 347.4 kB / 0.9071 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004636/0.2774, allocations: 374.2 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.2778, allocations: 329.9 kB / 0.9078 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.2779, allocations: 24 kB / 0.9078 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/0.278, allocations: 32 kB / 0.9079 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2781, allocations: 135.2 kB / 0.908 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.2782, allocations: 169.1 kB / 0.9082 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.2788, allocations: 0.8146 MB / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2788, allocations: 0 / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2788, allocations: 0 / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.2788, allocations: 0 / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002196/0.281, allocations: 1.247 MB / 0.9102 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.2811, allocations: 11.97 kB / 0.9102 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.2813, allocations: 114.5 kB / 0.9103 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.2814, allocations: 126.5 kB / 0.9104 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.2826, allocations: 0.6996 MB / 0.9111 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/0.2827, allocations: 79.7 kB / 0.9112 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.2827, allocations: 72 kB / 0.9112 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2839, allocations: 0.725 MB / 0.912 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2839, allocations: 0 / 0.912 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.284, allocations: 35.98 kB / 0.912 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.284, allocations: 16 kB / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009811/0.285, allocations: 0.5243 MB / 0.9125 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.288, allocations: 2.298 MB / 0.9148 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2893, allocations: 0.644 MB / 0.9154 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.2894, allocations: 16.55 kB / 0.9154 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006182/0.29, allocations: 323 kB / 0.9157 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.935e-06/0.29, allocations: 0 / 0.9157 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.00144/0.2915, allocations: 0.7715 MB / 0.9165 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.2915, allocations: 89.66 kB / 0.9166 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.2923, allocations: 0.7482 MB / 0.9173 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.2923, allocations: 37.7 kB / 0.9173 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.2926, allocations: 444.5 kB / 0.9177 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.2928, allocations: 204.9 kB / 0.9179 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.2928, allocations: 16 kB / 0.918 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.2929, allocations: 330 kB / 0.9183 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.2933, allocations: 201.2 kB / 0.9185 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.2937, allocations: 312.3 kB / 0.9188 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.2942, allocations: 234.2 kB / 0.919 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2942, allocations: 4 kB / 0.919 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001046/0.2953, allocations: 0.6579 MB / 0.9196 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.2955, allocations: 0.8792 MB / 0.9205 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2955, allocations: 4 kB / 0.9205 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2955, allocations: 4 kB / 0.9205 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.2962, allocations: 147.8 kB / 0.9206 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.2963, allocations: 8 kB / 0.9206 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.2967, allocations: 75.34 kB / 0.9207 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.2968, allocations: 23.98 kB / 0.9207 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.2968, allocations: 4 kB / 0.9207 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009147/0.2977, allocations: 0.5206 MB / 0.9212 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2977, allocations: 4 kB / 0.9213 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.2978, allocations: 7.953 kB / 0.9213 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.2985, allocations: 143.8 kB / 0.9214 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2986, allocations: 8.25 kB / 0.9214 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.2992, allocations: 67.41 kB / 0.9215 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.2992, allocations: 20 kB / 0.9215 GB, free: 42.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000564/0.2998, allocations: 289 kB / 0.9218 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.3, allocations: 94.78 kB / 0.9219 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.3003, allocations: 117.3 kB / 0.922 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3003, allocations: 7.953 kB / 0.922 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3003, allocations: 4 kB / 0.922 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3003, allocations: 0 / 0.922 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.3022, allocations: 1.454 MB / 0.9234 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3023, allocations: 0 / 0.9234 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.3028, allocations: 107.8 kB / 0.9235 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3028, allocations: 15.89 kB / 0.9235 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.3029, allocations: 12 kB / 0.9235 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3029, allocations: 0 / 0.9235 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3029, allocations: 0 / 0.9235 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.3045, allocations: 0.9785 MB / 0.9245 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.3048, allocations: 227.8 kB / 0.9247 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/0.3049, allocations: 11.95 kB / 0.9247 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.3053, allocations: 47.94 kB / 0.9248 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.3054, allocations: 32.52 kB / 0.9248 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.3054, allocations: 19.98 kB / 0.9248 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006336/0.3061, allocations: 0.5148 MB / 0.9253 GB, free: 38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.3061, allocations: 4 kB / 0.9253 GB, free: 38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007377/0.3069, allocations: 271 kB / 0.9256 GB, free: 37.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001797/0.3087, allocations: 1.535 MB / 0.9271 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.3102, allocations: 0.7958 MB / 0.9278 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3102, allocations: 7.938 kB / 0.9279 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.3107, allocations: 275.7 kB / 0.9281 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.3117, allocations: 230.2 kB / 0.9283 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.3152, allocations: 3.637 MB / 0.9319 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3157, allocations: 1.017 MB / 0.9329 GB, free: 30.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005826/0.3162, allocations: 118.8 kB / 0.933 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.3166, allocations: 351.3 kB / 0.9333 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of SimCode: time 1.563e-06/0.3166, allocations: 0 / 0.9333 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.3485, allocations: 16.03 MB / 0.949 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.3488, allocations: 192.4 kB / 0.9492 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/2.974, allocations: 0 / 0.9492 GB, free: 13.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)