Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.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.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",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.251/1.251, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008679/0.000868, allocations: 163.6 kB / 325.8 MB, free: 2.703 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.407/1.407, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007361/0.0007361, allocations: 92.05 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 13.22 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1541, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.003408/0.1576, allocations: 5.202 MB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1594, allocations: 1.744 MB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.1598, allocations: 35.88 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.1601, allocations: 190.2 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1605, allocations: 142.9 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.161, allocations: 455.5 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.1617, allocations: 1.425 MB / 0.9052 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005919/0.1623, allocations: 0.6679 MB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1625, allocations: 353.7 kB / 0.9062 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1627, allocations: 432.8 kB / 0.9066 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.761e-05/0.1628, allocations: 36 kB / 0.9066 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.868e-05/0.1629, allocations: 32 kB / 0.9066 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.163, allocations: 182.8 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.1632, allocations: 488.2 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.1638, allocations: 1.537 MB / 0.9088 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1638, allocations: 0 / 0.9088 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1638, allocations: 4 kB / 0.9088 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1638, allocations: 0 / 0.9088 GB, free: 55.09 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.001835/0.1657, allocations: 1.51 MB / 0.9103 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.1657, allocations: 8.031 kB / 0.9103 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.1658, allocations: 160.7 kB / 0.9104 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.166, allocations: 151.1 kB / 0.9106 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.1667, allocations: 0.7702 MB / 0.9113 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.1667, allocations: 82.45 kB / 0.9114 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.1668, allocations: 112.4 kB / 0.9115 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1681, allocations: 1.122 MB / 0.9126 GB, free: 51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1681, allocations: 0 / 0.9126 GB, free: 51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.1682, allocations: 44 kB / 0.9126 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1682, allocations: 27.94 kB / 0.9127 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.1697, allocations: 0.8822 MB / 0.9135 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.1733, allocations: 4.152 MB / 0.9176 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.175, allocations: 1.087 MB / 0.9187 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.1757, allocations: 499.6 kB / 0.9191 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.1758, allocations: 16.92 kB / 0.9191 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007346/0.1765, allocations: 464.9 kB / 0.9196 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 1.944e-06/0.1765, allocations: 0 / 0.9196 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.001816/0.1784, allocations: 1.151 MB / 0.9207 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1784, allocations: 218.6 kB / 0.9209 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.1792, allocations: 0.8899 MB / 0.9218 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.1792, allocations: 41.7 kB / 0.9218 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.1795, allocations: 0.543 MB / 0.9224 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1796, allocations: 287.8 kB / 0.9226 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.1797, allocations: 73.67 kB / 0.9227 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.1797, allocations: 341.9 kB / 0.923 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/0.1803, allocations: 353.8 kB / 0.9234 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.181, allocations: 0.5397 MB / 0.9239 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1822, allocations: 0.7963 MB / 0.9247 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1822, allocations: 4 kB / 0.9247 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001431/0.1836, allocations: 1.008 MB / 0.9257 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.1837, allocations: 152.2 kB / 0.9258 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1837, allocations: 7.938 kB / 0.9258 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1837, allocations: 11.98 kB / 0.9258 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.1844, allocations: 211.7 kB / 0.926 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1844, allocations: 4 kB / 0.926 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.1849, allocations: 182.8 kB / 0.9262 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.185, allocations: 28 kB / 0.9262 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-06/0.185, allocations: 7.984 kB / 0.9262 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008784/0.1859, allocations: 0.6989 MB / 0.9269 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1859, allocations: 0 / 0.9269 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-06/0.1859, allocations: 8 kB / 0.9269 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.1864, allocations: 171.7 kB / 0.9271 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1864, allocations: 8 kB / 0.9271 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.1868, allocations: 119.3 kB / 0.9272 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.1868, allocations: 28 kB / 0.9272 GB, free: 35.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0002541/0.1871, allocations: 340.8 kB / 0.9276 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.449e-05/0.1872, allocations: 118.6 kB / 0.9277 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1873, allocations: 119.2 kB / 0.9278 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1873, allocations: 8 kB / 0.9278 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1873, allocations: 0 / 0.9278 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1874, allocations: 3.984 kB / 0.9278 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.188, allocations: 0.9753 MB / 0.9288 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.188, allocations: 0 / 0.9288 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.1887, allocations: 179.8 kB / 0.9289 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1887, allocations: 4 kB / 0.9289 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.1887, allocations: 16 kB / 0.9289 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1887, allocations: 4 kB / 0.9289 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1887, allocations: 0 / 0.9289 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.1906, allocations: 1.331 MB / 0.9302 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1907, allocations: 195.4 kB / 0.9304 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.1908, allocations: 16 kB / 0.9305 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.1912, allocations: 87.92 kB / 0.9305 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.1913, allocations: 56.86 kB / 0.9306 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.1913, allocations: 20 kB / 0.9306 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005017/0.1918, allocations: 0.6074 MB / 0.9312 GB, free: 31.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1918, allocations: 0 / 0.9312 GB, free: 31.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005486/0.1924, allocations: 374.5 kB / 0.9316 GB, free: 31.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002138/0.1945, allocations: 1.895 MB / 0.9334 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.1963, allocations: 1.225 MB / 0.9346 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1963, allocations: 0 / 0.9346 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.1969, allocations: 417.8 kB / 0.935 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.1977, allocations: 263 kB / 0.9353 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009339/0.2071, allocations: 9.074 MB / 0.9441 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.2074, allocations: 1.077 MB / 0.9452 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003908/0.2078, allocations: 132 kB / 0.9453 GB, free: 16.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.2082, allocations: 471.2 kB / 0.9457 GB, free: 16.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2082, allocations: 0 / 0.9457 GB, free: 16.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1966/0.4049, allocations: 19.02 MB / 0.9643 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.4052, allocations: 221 kB / 0.9645 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/2.797, allocations: 3.938 kB / 0.9645 GB, free: 13.15 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)