Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 196.3 kB / 16.53 MB, free: 6.672 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.158/1.158, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.536/1.536, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001443/0.001443, allocations: 73.7 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2735, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006088/0.2797, allocations: 4.35 MB / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.2833, allocations: 1.625 MB / 0.7893 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.2839, allocations: 35.81 kB / 0.7893 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.2843, allocations: 162.2 kB / 0.7895 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006433/0.285, allocations: 234.1 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.2864, allocations: 0.6715 MB / 0.7904 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.2876, allocations: 1.218 MB / 0.7916 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007253/0.2883, allocations: 0.5043 MB / 0.7921 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.2889, allocations: 461.9 kB / 0.7925 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.2894, allocations: 465.4 kB / 0.7929 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.2896, allocations: 100 kB / 0.793 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.2897, allocations: 108 kB / 0.7931 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.2899, allocations: 231.1 kB / 0.7934 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.2903, allocations: 497 kB / 0.7938 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.2915, allocations: 1.098 MB / 0.7949 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2915, allocations: 0 / 0.7949 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2915, allocations: 0 / 0.7949 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.2915, allocations: 0 / 0.7949 GB, free: 1.598 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00264/0.2942, allocations: 1.41 MB / 0.7963 GB, free: 136 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.2942, allocations: 12.03 kB / 0.7963 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.2944, allocations: 106.7 kB / 0.7964 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.2946, allocations: 127.5 kB / 0.7965 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.2958, allocations: 0.7352 MB / 0.7972 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.2959, allocations: 88.2 kB / 0.7973 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2961, allocations: 64.38 kB / 0.7974 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.2974, allocations: 0.7366 MB / 0.7981 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2974, allocations: 3.938 kB / 0.7981 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/0.2975, allocations: 28 kB / 0.7981 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2975, allocations: 16 kB / 0.7981 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2986, allocations: 0.5204 MB / 0.7987 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.3019, allocations: 2.275 MB / 0.8009 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.3034, allocations: 0.6325 MB / 0.8015 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.3039, allocations: 277.3 kB / 0.8018 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.304, allocations: 4.562 kB / 0.8018 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/0.3048, allocations: 327 kB / 0.8021 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 4.559e-06/0.3048, allocations: 0 / 0.8021 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001717/0.3065, allocations: 0.7516 MB / 0.8028 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.3066, allocations: 93.61 kB / 0.8029 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/0.3075, allocations: 0.7558 MB / 0.8036 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.3076, allocations: 41.7 kB / 0.8037 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.3079, allocations: 440.5 kB / 0.8041 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.3081, allocations: 201 kB / 0.8043 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.3083, allocations: 106.3 kB / 0.8044 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3084, allocations: 330 kB / 0.8047 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.3089, allocations: 211.4 kB / 0.8049 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.3095, allocations: 308.4 kB / 0.8052 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.3105, allocations: 0.4996 MB / 0.8057 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3105, allocations: 4 kB / 0.8057 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00123/0.3118, allocations: 0.6539 MB / 0.8063 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3118, allocations: 9.188 kB / 0.8063 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3118, allocations: 4 kB / 0.8063 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3118, allocations: 8 kB / 0.8063 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.3125, allocations: 143.8 kB / 0.8065 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.3125, allocations: 11.92 kB / 0.8065 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.313, allocations: 67.36 kB / 0.8066 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.313, allocations: 23.98 kB / 0.8066 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006318/0.3137, allocations: 357.4 kB / 0.8069 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004675/0.3141, allocations: 292.4 kB / 0.8072 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000898/0.315, allocations: 499.7 kB / 0.8077 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.3151, allocations: 4 kB / 0.8077 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001169/0.3162, allocations: 0.6306 MB / 0.8083 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.3162, allocations: 4 kB / 0.8083 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3163, allocations: 4 kB / 0.8083 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3163, allocations: 8 kB / 0.8083 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.3169, allocations: 139.8 kB / 0.8084 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3169, allocations: 11.92 kB / 0.8085 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.3173, allocations: 71.56 kB / 0.8085 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.3174, allocations: 20 kB / 0.8085 GB, free: 3.16 MB / 0.6231 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.3176, allocations: 214.6 kB / 0.8087 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3177, allocations: 94.78 kB / 0.8088 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.318, allocations: 101.4 kB / 0.8089 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.318, allocations: 15.97 kB / 0.809 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.318, allocations: 3.938 kB / 0.809 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.318, allocations: 4 kB / 0.809 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.3202, allocations: 1.438 MB / 0.8104 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3203, allocations: 3.938 kB / 0.8104 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.3209, allocations: 107.9 kB / 0.8105 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3209, allocations: 3.938 kB / 0.8105 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.3209, allocations: 12 kB / 0.8105 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3209, allocations: 4 kB / 0.8105 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3209, allocations: 0 / 0.8105 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.3226, allocations: 0.9702 MB / 0.8114 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.3229, allocations: 215.8 kB / 0.8116 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.323, allocations: 12 kB / 0.8117 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.3234, allocations: 39.95 kB / 0.8117 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3235, allocations: 32.52 kB / 0.8117 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.3236, allocations: 19.98 kB / 0.8117 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007572/0.3243, allocations: 0.5187 MB / 0.8122 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3244, allocations: 0 / 0.8122 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007833/0.3251, allocations: 279 kB / 0.8125 GB, free: 14.98 MB / 0.6387 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 (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.002054/0.3272, allocations: 1.523 MB / 0.814 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.3291, allocations: 0.8196 MB / 0.8148 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3291, allocations: 0 / 0.8148 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.3296, allocations: 263.1 kB / 0.8151 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3308, allocations: 269.7 kB / 0.8153 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00978/0.3406, allocations: 6.994 MB / 0.8221 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.3412, allocations: 0.9938 MB / 0.8231 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005944/0.3419, allocations: 118.8 kB / 0.8232 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.3423, allocations: 355.3 kB / 0.8236 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of SimCode: time 1.172e-06/0.3423, allocations: 0 / 0.8236 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05582/0.3982, allocations: 17.27 MB / 0.8404 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.755, allocations: 3.922 kB / 0.8404 GB, free: 2.246 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)