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.001127/0.001127, allocations: 108 kB / 15.61 MB, free: 152 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.00109/0.00109, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.379/1.379, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.665/1.665, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.00226/0.00226, allocations: 67.5 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2777, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.007135/0.2849, allocations: 4.354 MB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003675/0.2886, allocations: 1.621 MB / 0.7893 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00098/0.2897, allocations: 31.88 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.2903, allocations: 170.1 kB / 0.7895 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2914, allocations: 234.1 kB / 0.7897 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.2931, allocations: 0.6751 MB / 0.7904 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002/0.2951, allocations: 1.222 MB / 0.7916 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008346/0.296, allocations: 0.5003 MB / 0.7921 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.2966, allocations: 466 kB / 0.7925 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.2972, allocations: 461.5 kB / 0.7929 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2973, allocations: 100 kB / 0.793 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.2974, allocations: 104 kB / 0.7931 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.2976, allocations: 227 kB / 0.7934 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.298, allocations: 489 kB / 0.7938 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.2992, allocations: 1.113 MB / 0.7949 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2992, allocations: 0 / 0.7949 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2992, allocations: 0 / 0.7949 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.2993, allocations: 4 kB / 0.7949 GB, free: 1.574 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.002397/0.3017, allocations: 1.407 MB / 0.7963 GB, free: 116 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3017, allocations: 8.031 kB / 0.7963 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.3019, allocations: 110.8 kB / 0.7964 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.302, allocations: 127.4 kB / 0.7965 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.3032, allocations: 0.7352 MB / 0.7972 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.863e-05/0.3033, allocations: 80.27 kB / 0.7973 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.3034, allocations: 76.38 kB / 0.7974 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.3046, allocations: 0.7328 MB / 0.7981 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3046, allocations: 7.922 kB / 0.7981 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/0.3047, allocations: 28 kB / 0.7981 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3047, allocations: 16 kB / 0.7982 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.3058, allocations: 0.5126 MB / 0.7987 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.3091, allocations: 2.278 MB / 0.8009 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.3105, allocations: 0.6247 MB / 0.8015 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.3111, allocations: 273.3 kB / 0.8018 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/0.3111, allocations: 12.56 kB / 0.8018 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008056/0.312, allocations: 323 kB / 0.8021 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 3.347e-06/0.312, allocations: 0 / 0.8021 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.00174/0.3137, allocations: 0.7517 MB / 0.8028 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.3138, allocations: 85.61 kB / 0.8029 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.3147, allocations: 0.7597 MB / 0.8036 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.3147, allocations: 37.7 kB / 0.8037 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.3151, allocations: 448.5 kB / 0.8041 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.3153, allocations: 205 kB / 0.8043 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.3154, allocations: 110.3 kB / 0.8044 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3156, allocations: 329.9 kB / 0.8047 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.3161, allocations: 211.3 kB / 0.8049 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.3166, allocations: 304.4 kB / 0.8052 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.3176, allocations: 0.5114 MB / 0.8057 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3177, allocations: 0 / 0.8057 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001216/0.3189, allocations: 0.654 MB / 0.8063 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3189, allocations: 8 kB / 0.8063 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3189, allocations: 3.938 kB / 0.8064 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3189, allocations: 4 kB / 0.8064 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.3196, allocations: 147.8 kB / 0.8065 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.3196, allocations: 7.938 kB / 0.8065 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.3201, allocations: 75.53 kB / 0.8066 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.3201, allocations: 23.98 kB / 0.8066 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006054/0.3207, allocations: 349.4 kB / 0.8069 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004809/0.3212, allocations: 292.5 kB / 0.8072 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008392/0.3221, allocations: 499.7 kB / 0.8077 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.3221, allocations: 3.938 kB / 0.8077 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001114/0.3232, allocations: 0.6344 MB / 0.8083 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3232, allocations: 4 kB / 0.8083 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.3232, allocations: 4 kB / 0.8083 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.3232, allocations: 8.25 kB / 0.8083 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.3238, allocations: 139.8 kB / 0.8085 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3238, allocations: 4 kB / 0.8085 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.3243, allocations: 59.44 kB / 0.8085 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.3243, allocations: 24 kB / 0.8085 GB, free: 3.152 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.0001976/0.3245, allocations: 215.1 kB / 0.8087 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3247, allocations: 98.78 kB / 0.8088 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.3249, allocations: 105.3 kB / 0.8089 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.3249, allocations: 4 kB / 0.8089 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.3249, allocations: 3.938 kB / 0.8089 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3249, allocations: 11.92 kB / 0.809 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.3272, allocations: 1.435 MB / 0.8104 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.3272, allocations: 7.938 kB / 0.8104 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.3278, allocations: 111.8 kB / 0.8105 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3278, allocations: 0 / 0.8105 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.3278, allocations: 12 kB / 0.8105 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3279, allocations: 4 kB / 0.8105 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3279, allocations: 0 / 0.8105 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.3295, allocations: 0.9586 MB / 0.8114 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.3299, allocations: 227.8 kB / 0.8116 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.85e-05/0.33, allocations: 12 kB / 0.8117 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.3304, allocations: 31.97 kB / 0.8117 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3306, allocations: 40.44 kB / 0.8117 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.3306, allocations: 16 kB / 0.8117 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007233/0.3313, allocations: 0.5226 MB / 0.8123 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 0 / 0.8123 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008286/0.3322, allocations: 279 kB / 0.8125 GB, free: 14.97 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.002013/0.3342, allocations: 1.523 MB / 0.814 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.3361, allocations: 0.8192 MB / 0.8148 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3361, allocations: 4 kB / 0.8148 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.3367, allocations: 267.7 kB / 0.8151 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.338, allocations: 262.6 kB / 0.8153 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.3489, allocations: 6.991 MB / 0.8221 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.3496, allocations: 0.9977 MB / 0.8231 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005954/0.3502, allocations: 114.8 kB / 0.8232 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/0.3508, allocations: 355.3 kB / 0.8236 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/0.3508, allocations: 0 / 0.8236 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.3948, allocations: 17.28 MB / 0.8404 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.581, allocations: 7.234 kB / 0.8404 GB, free: 2.223 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)