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.001118/0.001118, allocations: 101.4 kB / 15.7 MB, free: 28 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.001144/0.001144, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.287/1.287, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.651/1.651, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001891/0.001891, allocations: 70.12 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2433, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006286/0.2497, allocations: 4.358 MB / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.2531, allocations: 1.625 MB / 0.7895 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/0.254, allocations: 39.75 kB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.2546, allocations: 166.2 kB / 0.7897 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.2557, allocations: 226.1 kB / 0.7899 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.2573, allocations: 0.676 MB / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001978/0.2593, allocations: 1.226 MB / 0.7917 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009918/0.2603, allocations: 0.5082 MB / 0.7922 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008116/0.2611, allocations: 457.9 kB / 0.7927 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.2619, allocations: 461.5 kB / 0.7931 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.2622, allocations: 103.9 kB / 0.7932 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.2624, allocations: 104 kB / 0.7933 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.2627, allocations: 231.1 kB / 0.7935 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006149/0.2633, allocations: 497 kB / 0.794 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.2647, allocations: 1.152 MB / 0.7951 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2647, allocations: 4 kB / 0.7951 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2647, allocations: 0 / 0.7951 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.151e-05/0.2648, allocations: 0 / 0.7951 GB, free: 1.43 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.002602/0.2674, allocations: 1.399 MB / 0.7965 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.2675, allocations: 11.97 kB / 0.7965 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.2676, allocations: 114.7 kB / 0.7966 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.2678, allocations: 127.4 kB / 0.7967 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.2692, allocations: 0.7665 MB / 0.7975 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/0.2693, allocations: 80.27 kB / 0.7976 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.2694, allocations: 72.36 kB / 0.7976 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.2706, allocations: 0.7327 MB / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.2706, allocations: 0 / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/0.2707, allocations: 39.94 kB / 0.7984 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.2707, allocations: 16 kB / 0.7984 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.2718, allocations: 0.5165 MB / 0.7989 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.275, allocations: 2.251 MB / 0.8011 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.2764, allocations: 0.6211 MB / 0.8017 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.277, allocations: 281.7 kB / 0.802 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.277, allocations: 4.562 kB / 0.802 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000647/0.2777, allocations: 327 kB / 0.8023 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/0.2777, allocations: 0 / 0.8023 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001725/0.2794, allocations: 0.74 MB / 0.803 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.2795, allocations: 93.61 kB / 0.8031 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009829/0.2805, allocations: 0.7635 MB / 0.8039 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.2806, allocations: 37.7 kB / 0.8039 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.2809, allocations: 448.5 kB / 0.8043 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.2811, allocations: 205 kB / 0.8045 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2813, allocations: 106.3 kB / 0.8046 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2814, allocations: 330 kB / 0.8049 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.2819, allocations: 211.4 kB / 0.8051 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.2824, allocations: 300.5 kB / 0.8054 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.2834, allocations: 0.4996 MB / 0.8059 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.2834, allocations: 4 kB / 0.8059 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001265/0.2847, allocations: 0.6577 MB / 0.8065 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2847, allocations: 8 kB / 0.8066 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2847, allocations: 256 / 0.8066 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2847, allocations: 19.92 kB / 0.8066 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.2854, allocations: 139.8 kB / 0.8067 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.2854, allocations: 7.938 kB / 0.8067 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.2859, allocations: 75.34 kB / 0.8068 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.2859, allocations: 20 kB / 0.8068 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006291/0.2865, allocations: 361.4 kB / 0.8072 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004645/0.287, allocations: 284.5 kB / 0.8074 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008968/0.2879, allocations: 0.4918 MB / 0.8079 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.2879, allocations: 0 / 0.8079 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001128/0.2891, allocations: 0.6344 MB / 0.8085 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2891, allocations: 4 kB / 0.8085 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2891, allocations: 8 kB / 0.8085 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2891, allocations: 7.984 kB / 0.8085 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.2897, allocations: 143.8 kB / 0.8087 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2897, allocations: 4 kB / 0.8087 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.2901, allocations: 63.64 kB / 0.8087 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.2902, allocations: 23.98 kB / 0.8088 GB, free: 2.996 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.0002207/0.2904, allocations: 218.7 kB / 0.809 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.2905, allocations: 94.78 kB / 0.8091 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.2908, allocations: 101.3 kB / 0.8092 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-06/0.2908, allocations: 8 kB / 0.8092 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2908, allocations: 3.938 kB / 0.8092 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2908, allocations: 3.984 kB / 0.8092 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.293, allocations: 1.427 MB / 0.8106 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.293, allocations: 3.938 kB / 0.8106 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.2936, allocations: 111.8 kB / 0.8107 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2936, allocations: 0 / 0.8107 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.2937, allocations: 15.98 kB / 0.8107 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2937, allocations: 4 kB / 0.8107 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2937, allocations: 0 / 0.8107 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.2954, allocations: 0.975 MB / 0.8117 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.2957, allocations: 219.7 kB / 0.8119 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.2958, allocations: 12 kB / 0.8119 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.2963, allocations: 31.97 kB / 0.8119 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2964, allocations: 40.45 kB / 0.8119 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.2964, allocations: 19.98 kB / 0.812 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007088/0.2971, allocations: 0.5187 MB / 0.8125 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2972, allocations: 0 / 0.8125 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007421/0.2979, allocations: 279 kB / 0.8127 GB, free: 14.82 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.002017/0.2999, allocations: 1.523 MB / 0.8142 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.3016, allocations: 0.7924 MB / 0.815 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3016, allocations: 128 / 0.815 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.3021, allocations: 271.1 kB / 0.8153 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3034, allocations: 276.1 kB / 0.8155 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/0.3127, allocations: 6.542 MB / 0.8219 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.3133, allocations: 0.9977 MB / 0.8229 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005351/0.3139, allocations: 118.7 kB / 0.823 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.3143, allocations: 351.3 kB / 0.8233 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.3143, allocations: 0 / 0.8233 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.3573, allocations: 17.29 MB / 0.8402 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.953/10.31, allocations: 11.91 kB / 0.8402 GB, free: 2.648 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)