Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.0007034/0.0007033, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.579/1.579, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005173/0.0005174, allocations: 16.22 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1871, allocations: 116.3 MB / 0.7874 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.00267/0.1899, allocations: 2.611 MB / 0.79 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1918, allocations: 1.642 MB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.1921, allocations: 15.94 kB / 0.7916 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.1923, allocations: 106.9 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1927, allocations: 91.3 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.1931, allocations: 219.7 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.1939, allocations: 0.9245 MB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.1945, allocations: 451.6 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.1947, allocations: 238.5 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1949, allocations: 298 kB / 0.7938 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.195, allocations: 24 kB / 0.7939 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.1951, allocations: 28 kB / 0.7939 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.699e-05/0.1952, allocations: 127.3 kB / 0.794 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1953, allocations: 165.1 kB / 0.7942 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007187/0.196, allocations: 0.982 MB / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.196, allocations: 0 / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.196, allocations: 0 / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.196, allocations: 0 / 0.7951 GB, free: 3.824 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001671/0.1977, allocations: 1.188 MB / 0.7963 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1978, allocations: 12.03 kB / 0.7963 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.1979, allocations: 143.4 kB / 0.7964 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.198, allocations: 114.6 kB / 0.7965 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.1987, allocations: 0.5706 MB / 0.7971 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.1988, allocations: 66 kB / 0.7972 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1989, allocations: 91.91 kB / 0.7973 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.2002, allocations: 0.8588 MB / 0.7981 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2002, allocations: 0 / 0.7981 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.2003, allocations: 39.94 kB / 0.7981 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2003, allocations: 20 kB / 0.7981 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2014, allocations: 0.6286 MB / 0.7988 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.2047, allocations: 2.724 MB / 0.8014 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.2061, allocations: 1.326 MB / 0.8027 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.2066, allocations: 390.6 kB / 0.8031 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.2067, allocations: 8.562 kB / 0.8031 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/0.2073, allocations: 347.1 kB / 0.8034 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.064e-06/0.2073, allocations: 0 / 0.8034 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001365/0.2087, allocations: 0.8182 MB / 0.8042 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.2088, allocations: 166.8 kB / 0.8044 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.2094, allocations: 0.5823 MB / 0.805 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.2094, allocations: 41.7 kB / 0.805 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.2097, allocations: 420 kB / 0.8054 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.2099, allocations: 236.5 kB / 0.8056 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.2099, allocations: 16 kB / 0.8056 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.21, allocations: 382.8 kB / 0.806 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.2105, allocations: 229.2 kB / 0.8062 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.2109, allocations: 349.4 kB / 0.8066 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.2114, allocations: 263.1 kB / 0.8068 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2114, allocations: 0 / 0.8068 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001056/0.2125, allocations: 0.676 MB / 0.8075 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/0.2126, allocations: 118.2 kB / 0.8076 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2126, allocations: 0 / 0.8076 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2126, allocations: 4 kB / 0.8076 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.2131, allocations: 151.9 kB / 0.8077 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.2131, allocations: 7.938 kB / 0.8077 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.2134, allocations: 107.4 kB / 0.8078 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.2135, allocations: 19.98 kB / 0.8079 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.13e-06/0.2135, allocations: 4 kB / 0.8079 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006224/0.2141, allocations: 471.6 kB / 0.8083 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.2141, allocations: 0 / 0.8083 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.2141, allocations: 4.094 kB / 0.8083 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.2145, allocations: 131.8 kB / 0.8084 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.803e-05/0.2146, allocations: 8.062 kB / 0.8084 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.2148, allocations: 79.34 kB / 0.8085 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.2149, allocations: 24 kB / 0.8085 GB, free: 5.57 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003443/0.2152, allocations: 293 kB / 0.8088 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.2153, allocations: 86.97 kB / 0.8089 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.2155, allocations: 78.95 kB / 0.809 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.2155, allocations: 15.89 kB / 0.809 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.2155, allocations: 4 kB / 0.809 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.2155, allocations: 7.922 kB / 0.809 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.2176, allocations: 1.582 MB / 0.8106 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2176, allocations: 0 / 0.8106 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.2181, allocations: 131.8 kB / 0.8107 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.2181, allocations: 4 kB / 0.8107 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.2182, allocations: 19.98 kB / 0.8107 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2182, allocations: 4 kB / 0.8107 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2182, allocations: 0 / 0.8107 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.2197, allocations: 1.014 MB / 0.8117 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2198, allocations: 160 kB / 0.8118 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.2199, allocations: 12 kB / 0.8119 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.2202, allocations: 59.95 kB / 0.8119 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.2203, allocations: 36.52 kB / 0.812 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.2203, allocations: 24.08 kB / 0.812 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004595/0.2208, allocations: 415 kB / 0.8124 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2208, allocations: 4 kB / 0.8124 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006953/0.2215, allocations: 298.4 kB / 0.8127 GB, free: 1.25 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * 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 Backend phase and start with SimCode phase: time 0.001797/0.2233, allocations: 1.59 MB / 0.8142 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.2247, allocations: 0.8242 MB / 0.815 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2247, allocations: 0 / 0.815 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004663/0.2252, allocations: 303.2 kB / 0.8153 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.2259, allocations: 143.2 kB / 0.8154 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/0.2327, allocations: 4.547 MB / 0.8199 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.2333, allocations: 0.9781 MB / 0.8208 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.2336, allocations: 85.2 kB / 0.8209 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/0.234, allocations: 343.3 kB / 0.8212 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/0.234, allocations: 4 kB / 0.8213 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.2602, allocations: 13.37 MB / 0.8343 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.2605, allocations: 205.2 kB / 0.8345 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.136, allocations: 0 / 0.8345 GB, free: 10.95 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) Environment - environmentSimulation: