Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.001397/0.001397, allocations: 184.4 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007513/0.0007513, allocations: 96.67 kB / 0.744 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.000429, allocations: 10.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2523, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003808/0.2562, allocations: 3.68 MB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.2588, allocations: 1.54 MB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.2593, allocations: 35.81 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.2597, allocations: 114.8 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006235/0.2603, allocations: 172.6 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2614, allocations: 0.5238 MB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008777/0.2623, allocations: 1.046 MB / 0.9866 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.2628, allocations: 351.4 kB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.2632, allocations: 341.9 kB / 0.9872 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.2635, allocations: 341.8 kB / 0.9876 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.2636, allocations: 28 kB / 0.9876 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.2637, allocations: 24 kB / 0.9876 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.2637, allocations: 139.2 kB / 0.9877 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.2639, allocations: 169.1 kB / 0.9879 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.2644, allocations: 0.8146 MB / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2644, allocations: 0 / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2644, allocations: 0 / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.2645, allocations: 0 / 0.9887 GB, free: 18.27 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001992/0.2665, allocations: 1.251 MB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.2665, allocations: 16.02 kB / 0.9899 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.2666, allocations: 110.5 kB / 0.99 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.2668, allocations: 122.5 kB / 0.9902 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.2678, allocations: 0.7074 MB / 0.9908 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.2679, allocations: 87.69 kB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.268, allocations: 68 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.2691, allocations: 0.7328 MB / 0.9917 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.2691, allocations: 3.938 kB / 0.9917 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.2692, allocations: 27.98 kB / 0.9917 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2692, allocations: 20 kB / 0.9918 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009751/0.2702, allocations: 0.5204 MB / 0.9923 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.273, allocations: 2.302 MB / 0.9945 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.2742, allocations: 0.625 MB / 0.9951 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/0.2747, allocations: 279.8 kB / 0.9954 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.2748, allocations: 12.55 kB / 0.9954 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007748/0.2756, allocations: 330.9 kB / 0.9957 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 4.749e-06/0.2756, allocations: 0 / 0.9957 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001719/0.2773, allocations: 0.7677 MB / 0.9965 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.2774, allocations: 89.66 kB / 0.9966 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008826/0.2783, allocations: 0.7482 MB / 0.9973 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.2784, allocations: 41.69 kB / 0.9973 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.2787, allocations: 440.5 kB / 0.9977 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.2788, allocations: 209 kB / 0.9979 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2789, allocations: 8 kB / 0.998 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.279, allocations: 341.9 kB / 0.9983 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.2794, allocations: 201.2 kB / 0.9985 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.2798, allocations: 308.5 kB / 0.9988 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.2803, allocations: 234.2 kB / 0.999 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2803, allocations: 3.938 kB / 0.999 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001115/0.2814, allocations: 0.6618 MB / 0.9996 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.429e-05/0.2815, allocations: 161 kB / 0.9998 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.2815, allocations: 4 kB / 0.9998 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.2816, allocations: 4 kB / 0.9998 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.2822, allocations: 151.8 kB / 0.9999 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.2823, allocations: 7.953 kB / 1 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.2827, allocations: 83.28 kB / 1 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.2828, allocations: 20 kB / 1 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/0.2828, allocations: 4 kB / 1 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008715/0.2837, allocations: 0.5206 MB / 1.001 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2837, allocations: 4 kB / 1.001 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.2837, allocations: 4 kB / 1.001 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.2842, allocations: 139.8 kB / 1.001 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2842, allocations: 16.19 kB / 1.001 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.2846, allocations: 63.41 kB / 1.001 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.2847, allocations: 20 kB / 1.001 GB, free: 5.492 MB / 0.6198 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.0003131/0.285, allocations: 301 kB / 1.001 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.2851, allocations: 94.86 kB / 1.001 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.2853, allocations: 109.3 kB / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2853, allocations: 4 kB / 1.001 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2853, allocations: 7.922 kB / 1.001 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2853, allocations: 4 kB / 1.001 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.2871, allocations: 1.45 MB / 1.003 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2871, allocations: 0 / 1.003 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.2876, allocations: 107.8 kB / 1.003 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.2877, allocations: 8 kB / 1.003 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.2877, allocations: 12 kB / 1.003 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2877, allocations: 0 / 1.003 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2877, allocations: 4 kB / 1.003 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.2892, allocations: 0.9747 MB / 1.004 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.2895, allocations: 231.6 kB / 1.004 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.339e-05/0.2895, allocations: 16 kB / 1.004 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.29, allocations: 39.95 kB / 1.004 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.2901, allocations: 36.52 kB / 1.004 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.2901, allocations: 19.98 kB / 1.004 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005829/0.2907, allocations: 0.5148 MB / 1.005 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2907, allocations: 4 kB / 1.005 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007075/0.2914, allocations: 267.1 kB / 1.005 GB, free: 1.195 MB / 0.6198 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.001801/0.2932, allocations: 1.547 MB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.295, allocations: 0.7997 MB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2951, allocations: 0 / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.2956, allocations: 279.7 kB / 1.007 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.297, allocations: 228.8 kB / 1.008 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008713/0.3057, allocations: 5.136 MB / 1.013 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.3064, allocations: 0.9979 MB / 1.014 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006345/0.307, allocations: 122.8 kB / 1.014 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.3075, allocations: 355.3 kB / 1.014 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.3075, allocations: 0 / 1.014 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.3433, allocations: 16.58 MB / 1.03 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.3436, allocations: 199.1 kB / 1.03 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/2.976, allocations: 4 kB / 1.03 GB, free: 6.852 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)