Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.191/1.191, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008757/0.0008757, allocations: 166.3 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006326/0.0006326, allocations: 94.61 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002658, allocations: 12.03 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.002916/0.1325, allocations: 4.024 MB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1342, allocations: 1.594 MB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.1345, allocations: 35.81 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.1348, allocations: 122.8 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1352, allocations: 174.8 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.136, allocations: 0.6197 MB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.1367, allocations: 1.14 MB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.1371, allocations: 484.1 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1374, allocations: 357.9 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1376, allocations: 353.5 kB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.1377, allocations: 24 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.016e-05/0.1377, allocations: 28 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.1378, allocations: 139.1 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.138, allocations: 393 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.1384, allocations: 1.011 MB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1385, allocations: 4 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1385, allocations: 0 / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.1385, allocations: 4 kB / 0.9064 GB, free: 57.54 MB / 0.6042 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.001484/0.14, allocations: 1.236 MB / 0.9076 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.14, allocations: 12.03 kB / 0.9076 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.097e-05/0.1401, allocations: 110.7 kB / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1402, allocations: 119.5 kB / 0.9078 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007881/0.141, allocations: 0.7352 MB / 0.9086 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.1411, allocations: 88.2 kB / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.1411, allocations: 72.38 kB / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/0.142, allocations: 0.7406 MB / 0.9094 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1421, allocations: 0 / 0.9094 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.1421, allocations: 28 kB / 0.9095 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1421, allocations: 16 kB / 0.9095 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/0.143, allocations: 0.5359 MB / 0.91 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.1452, allocations: 2.302 MB / 0.9123 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1463, allocations: 0.6364 MB / 0.9129 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.1467, allocations: 275.1 kB / 0.9131 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.1467, allocations: 12.55 kB / 0.9132 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.1472, allocations: 327.1 kB / 0.9135 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 1.823e-06/0.1472, allocations: 3.938 kB / 0.9135 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.001207/0.1485, allocations: 0.779 MB / 0.9142 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.1485, allocations: 85.61 kB / 0.9143 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.1491, allocations: 0.7559 MB / 0.915 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1491, allocations: 37.7 kB / 0.9151 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.1493, allocations: 444.4 kB / 0.9155 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.1494, allocations: 201 kB / 0.9157 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.1495, allocations: 69.67 kB / 0.9158 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.1495, allocations: 326 kB / 0.9161 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.1499, allocations: 209.2 kB / 0.9163 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.1503, allocations: 312.4 kB / 0.9166 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.151, allocations: 0.5192 MB / 0.9171 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.151, allocations: 3.938 kB / 0.9171 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009221/0.152, allocations: 0.6618 MB / 0.9177 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.152, allocations: 163 kB / 0.9179 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.152, allocations: 3.984 kB / 0.9179 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.152, allocations: 7.938 kB / 0.9179 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.1526, allocations: 151.8 kB / 0.918 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1526, allocations: 4 kB / 0.918 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.1529, allocations: 75.41 kB / 0.9181 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.153, allocations: 20 kB / 0.9181 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/0.153, allocations: 5.25 kB / 0.9181 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007568/0.1537, allocations: 0.5323 MB / 0.9187 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.1537, allocations: 0 / 0.9187 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-06/0.1538, allocations: 8 kB / 0.9187 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.1542, allocations: 135.8 kB / 0.9188 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1543, allocations: 8.25 kB / 0.9188 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.1546, allocations: 75.34 kB / 0.9189 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.1546, allocations: 20 kB / 0.9189 GB, free: 44.32 MB / 0.6042 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.0002001/0.1548, allocations: 297 kB / 0.9192 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.1549, allocations: 102.8 kB / 0.9193 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.155, allocations: 101.3 kB / 0.9194 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.155, allocations: 8 kB / 0.9194 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.155, allocations: 7.984 kB / 0.9194 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1551, allocations: 7.875 kB / 0.9194 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.1566, allocations: 1.454 MB / 0.9208 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1566, allocations: 0 / 0.9208 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.157, allocations: 103.9 kB / 0.9209 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1571, allocations: 11.94 kB / 0.9209 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.1571, allocations: 12 kB / 0.9209 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1571, allocations: 0 / 0.9209 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1571, allocations: 0 / 0.9209 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.1584, allocations: 0.982 MB / 0.9219 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1585, allocations: 223.7 kB / 0.9221 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.1586, allocations: 19.94 kB / 0.9221 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.159, allocations: 35.97 kB / 0.9222 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.1591, allocations: 40.5 kB / 0.9222 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.1591, allocations: 19.98 kB / 0.9222 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004191/0.1596, allocations: 0.5187 MB / 0.9227 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1596, allocations: 4 kB / 0.9227 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00049/0.1601, allocations: 275 kB / 0.923 GB, free: 40 MB / 0.6042 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.001397/0.1615, allocations: 1.547 MB / 0.9245 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.1626, allocations: 0.8036 MB / 0.9253 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1626, allocations: 0 / 0.9253 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.163, allocations: 279.7 kB / 0.9256 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.1639, allocations: 239.5 kB / 0.9258 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007009/0.171, allocations: 7.339 MB / 0.933 GB, free: 29.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1712, allocations: 0.994 MB / 0.9339 GB, free: 28.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003796/0.1716, allocations: 122.6 kB / 0.934 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.172, allocations: 351.3 kB / 0.9344 GB, free: 28 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.172, allocations: 0 / 0.9344 GB, free: 28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5328/0.7048, allocations: 16.45 MB / 0.9504 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.7049, allocations: 212.9 kB / 0.9506 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.321, allocations: 0 / 0.9506 GB, free: 11.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)