Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001368/0.001368, allocations: 179.1 kB / 326.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.465/2.465, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.002178/0.002177, allocations: 103.8 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004629, allocations: 12.25 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.4642, allocations: 140.1 MB / 1.036 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.4646, allocations: 91.94 kB / 1.036 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09177/0.5564, allocations: 19.96 MB / 1.056 GB, free: 1.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5565, allocations: 0 / 1.056 GB, free: 1.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001281/0.5566, allocations: 28.12 kB / 1.056 GB, free: 1.133 MB / 0.698 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.5915/1.148, allocations: 1.247 MB / 1.057 GB, free: 144 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.148, allocations: 8.75 kB / 1.057 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/1.149, allocations: 124.2 kB / 1.057 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/1.151, allocations: 0.7347 MB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/1.151, allocations: 81.67 kB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/1.152, allocations: 76.39 kB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/1.154, allocations: 0.7859 MB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/1.154, allocations: 0 / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.154, allocations: 31.06 kB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/1.154, allocations: 16.41 kB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/1.156, allocations: 0.5619 MB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006206/1.163, allocations: 2.362 MB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/1.165, allocations: 0.677 MB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009559/1.166, allocations: 266.9 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/1.166, allocations: 8.781 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/1.168, allocations: 356.6 kB / 1.063 GB, free: 142.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.828e-06/1.168, allocations: 0 / 1.063 GB, free: 142.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.00316/1.171, allocations: 0.8192 MB / 1.064 GB, free: 142.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/1.171, allocations: 140.2 kB / 1.064 GB, free: 142.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/1.173, allocations: 0.7639 MB / 1.065 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/1.173, allocations: 44.38 kB / 1.065 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/1.173, allocations: 439 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/1.174, allocations: 213.2 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/1.174, allocations: 7.75 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/1.174, allocations: 329.3 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009531/1.175, allocations: 227.8 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.176, allocations: 340.8 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/1.177, allocations: 254 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.177, allocations: 1.125 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002731/1.18, allocations: 0.6973 MB / 1.067 GB, free: 141.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.18, allocations: 154.5 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.18, allocations: 5.75 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/1.18, allocations: 9.219 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.182, allocations: 155.7 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/1.182, allocations: 12.69 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.183, allocations: 80.38 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/1.183, allocations: 20.55 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.183, allocations: 7.312 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002089/1.185, allocations: 0.5598 MB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.185, allocations: 3.703 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.185, allocations: 5.781 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.187, allocations: 152.8 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/1.187, allocations: 5.219 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.188, allocations: 81.8 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/1.188, allocations: 21.91 kB / 1.068 GB, free: 141.1 MB / 0.698 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,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006554/1.189, allocations: 300.8 kB / 1.069 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/1.189, allocations: 98.3 kB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/1.189, allocations: 109.9 kB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.189, allocations: 5.625 kB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.189, allocations: 1.344 kB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.189, allocations: 3.469 kB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/1.194, allocations: 1.523 MB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.194, allocations: 0 / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.195, allocations: 115.8 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.195, allocations: 2.438 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/1.195, allocations: 17.41 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/1.195, allocations: 2.562 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.195, allocations: 3.969 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/1.199, allocations: 1.042 MB / 1.071 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/1.199, allocations: 229.6 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/1.199, allocations: 16.45 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.2, allocations: 54.75 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.201, allocations: 38.94 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/1.201, allocations: 19.73 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001281/1.202, allocations: 0.5193 MB / 1.072 GB, free: 140 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.202, allocations: 4.969 kB / 1.072 GB, free: 140 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001443/1.203, allocations: 279.1 kB / 1.073 GB, free: 139.9 MB / 0.698 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 (limPIDInp.trigger,$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 (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.000231/1.204, allocations: 120.2 kB / 1.073 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00334/1.207, allocations: 0.8685 MB / 1.074 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/1.207, allocations: 1.156 kB / 1.074 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/1.208, allocations: 293.7 kB / 1.074 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.21, allocations: 249.4 kB / 1.074 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/1.215, allocations: 1.823 MB / 1.076 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/1.215, allocations: 0.9959 MB / 1.077 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001109/1.217, allocations: 116.2 kB / 1.077 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/1.217, allocations: 62.2 kB / 1.077 GB, free: 138.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/1.217, allocations: 0 / 1.077 GB, free: 138.1 MB / 0.698 GB Notification: Performance of Templates: time 0.03366/1.251, allocations: 9.135 MB / 1.086 GB, free: 137.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)