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.383/1.383, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001241/0.001241, allocations: 178.6 kB / 326.5 MB, free: 2.234 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.734/1.734, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.000966/0.0009659, allocations: 91.78 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005085/0.0005083, allocations: 12.44 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2743, allocations: 106.4 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4595, allocations: 134.5 MB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4598, allocations: 83.95 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05956/0.5194, allocations: 21.9 MB / 1.053 GB, free: 3.051 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5194, allocations: 3.938 kB / 1.053 GB, free: 3.047 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001573/0.5196, allocations: 24 kB / 1.053 GB, free: 3.023 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.004359/0.524, allocations: 1.516 MB / 1.055 GB, free: 1.449 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.5241, allocations: 12.03 kB / 1.055 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004471/0.5245, allocations: 156.5 kB / 1.055 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.5251, allocations: 154.1 kB / 1.055 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.5274, allocations: 0.7774 MB / 1.056 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.5275, allocations: 82.08 kB / 1.056 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.5279, allocations: 111.9 kB / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5547/1.083, allocations: 1.11 MB / 1.057 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/1.083, allocations: 1.438 kB / 1.057 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/1.083, allocations: 44.73 kB / 1.057 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/1.083, allocations: 26.69 kB / 1.057 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/1.085, allocations: 0.9083 MB / 1.058 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005403/1.09, allocations: 3.946 MB / 1.062 GB, free: 139.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/1.093, allocations: 1.147 MB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.647e-05/1.093, allocations: 15.08 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/1.094, allocations: 475.5 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 3.306e-06/1.094, allocations: 1.859 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.002515/1.096, allocations: 1.191 MB / 1.064 GB, free: 139.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.096, allocations: 220.1 kB / 1.065 GB, free: 139.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.098, allocations: 0.7782 MB / 1.065 GB, free: 138.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/1.098, allocations: 42.2 kB / 1.065 GB, free: 138.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/1.099, allocations: 0.5312 MB / 1.066 GB, free: 138.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/1.099, allocations: 302.5 kB / 1.066 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/1.099, allocations: 15.16 kB / 1.066 GB, free: 138.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.099, allocations: 338.5 kB / 1.067 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.1, allocations: 352.7 kB / 1.067 GB, free: 138.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.101, allocations: 0.507 MB / 1.067 GB, free: 138.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/1.102, allocations: 387.5 kB / 1.068 GB, free: 138.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/1.102, allocations: 4.312 kB / 1.068 GB, free: 138.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002341/1.105, allocations: 0.9923 MB / 1.069 GB, free: 138 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.105, allocations: 458.4 kB / 1.069 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.105, allocations: 1.312 kB / 1.069 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.673e-05/1.105, allocations: 7.578 kB / 1.069 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/1.106, allocations: 212.3 kB / 1.069 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.106, allocations: 8.234 kB / 1.069 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/1.106, allocations: 169.4 kB / 1.07 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/1.107, allocations: 32.77 kB / 1.07 GB, free: 137.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/1.107, allocations: 3.562 kB / 1.07 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/1.108, allocations: 0.6828 MB / 1.07 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.108, allocations: 2.469 kB / 1.07 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/1.108, allocations: 4.844 kB / 1.07 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/1.109, allocations: 171.8 kB / 1.07 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.109, allocations: 9.531 kB / 1.07 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/1.109, allocations: 123 kB / 1.071 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/1.109, allocations: 26.94 kB / 1.071 GB, free: 137.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005764/1.11, allocations: 336.3 kB / 1.071 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/1.11, allocations: 115.9 kB / 1.071 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/1.11, allocations: 119.8 kB / 1.071 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.11, allocations: 8.469 kB / 1.071 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/1.11, allocations: 5.359 kB / 1.071 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.11, allocations: 4.078 kB / 1.071 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/1.112, allocations: 0.9935 MB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.112, allocations: 0 / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/1.113, allocations: 185.1 kB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/1.113, allocations: 7.859 kB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/1.113, allocations: 18.8 kB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/1.113, allocations: 8.078 kB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.113, allocations: 0 / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/1.116, allocations: 1.365 MB / 1.074 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/1.116, allocations: 201.1 kB / 1.074 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.116, allocations: 24.73 kB / 1.074 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/1.117, allocations: 82.64 kB / 1.074 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/1.117, allocations: 56.09 kB / 1.074 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/1.117, allocations: 24.95 kB / 1.074 GB, free: 136.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001024/1.118, allocations: 0.6024 MB / 1.075 GB, free: 136.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.61e-07/1.118, allocations: 0 / 1.075 GB, free: 136.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001106/1.119, allocations: 375.8 kB / 1.075 GB, free: 136.4 MB / 0.698 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 (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003147/1.122, allocations: 1.954 MB / 1.077 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003296/1.126, allocations: 1.218 MB / 1.078 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.126, allocations: 0 / 1.078 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.127, allocations: 437 kB / 1.079 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/1.128, allocations: 244.1 kB / 1.079 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.141, allocations: 7.119 MB / 1.086 GB, free: 132.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/1.141, allocations: 1.102 MB / 1.087 GB, free: 131.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007812/1.142, allocations: 138.1 kB / 1.087 GB, free: 131.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/1.143, allocations: 467.2 kB / 1.087 GB, free: 131.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.143, allocations: 4 kB / 1.087 GB, free: 131.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/1.18, allocations: 20.09 MB / 1.107 GB, free: 120.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.18, allocations: 199.5 kB / 1.107 GB, free: 120.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.958, allocations: 0 / 1.107 GB, free: 120.7 MB / 0.698 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)