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.442/1.442, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001115/0.001115, allocations: 179.5 kB / 326.5 MB, free: 2.227 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.069/2.069, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0009001/0.0009002, allocations: 99.55 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 12.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 106.4 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004986/0.2736, allocations: 4.671 MB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003687/0.2773, allocations: 1.725 MB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007558/0.2781, allocations: 39.88 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.2784, allocations: 114.6 kB / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00074/0.2791, allocations: 239.1 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006429/0.2798, allocations: 375.5 kB / 0.9072 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008945/0.2807, allocations: 0.9142 MB / 0.908 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006329/0.2813, allocations: 0.4941 MB / 0.9085 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.2816, allocations: 330.1 kB / 0.9088 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.2819, allocations: 401.4 kB / 0.9092 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.282, allocations: 43.94 kB / 0.9093 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.811e-05/0.282, allocations: 36 kB / 0.9093 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2822, allocations: 171.1 kB / 0.9095 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2823, allocations: 213 kB / 0.9097 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.283, allocations: 1.278 MB / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.283, allocations: 0 / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/0.283, allocations: 3.938 kB / 0.9109 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.2831, allocations: 4 kB / 0.9109 GB, free: 52.72 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.002465/0.2855, allocations: 1.529 MB / 0.9124 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.2856, allocations: 8.031 kB / 0.9124 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.2858, allocations: 164.5 kB / 0.9126 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.286, allocations: 154.1 kB / 0.9127 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/0.2869, allocations: 0.7268 MB / 0.9134 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.287, allocations: 86.08 kB / 0.9135 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.2871, allocations: 112 kB / 0.9136 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2887, allocations: 1.102 MB / 0.9147 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2887, allocations: 0 / 0.9147 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.102e-05/0.2888, allocations: 48 kB / 0.9148 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.2888, allocations: 24 kB / 0.9148 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.2904, allocations: 0.8782 MB / 0.9156 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004443/0.2949, allocations: 4.159 MB / 0.9197 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.297, allocations: 1.108 MB / 0.9208 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.2971, allocations: 9 kB / 0.9208 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/0.298, allocations: 453.1 kB / 0.9212 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 3.526e-06/0.298, allocations: 0 / 0.9212 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.002144/0.3001, allocations: 1.151 MB / 0.9223 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3002, allocations: 226.6 kB / 0.9226 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/0.3012, allocations: 0.882 MB / 0.9234 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.3013, allocations: 41.7 kB / 0.9235 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.3016, allocations: 0.5392 MB / 0.924 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.3018, allocations: 291.8 kB / 0.9243 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3018, allocations: 16 kB / 0.9243 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.3019, allocations: 337.9 kB / 0.9246 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000636/0.3026, allocations: 345.8 kB / 0.9249 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/0.3033, allocations: 0.5203 MB / 0.9254 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.304, allocations: 398.8 kB / 0.9258 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.304, allocations: 4 kB / 0.9258 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001568/0.3056, allocations: 0.996 MB / 0.9268 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/0.3058, allocations: 0.7921 MB / 0.9276 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3058, allocations: 4 kB / 0.9276 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3059, allocations: 4 kB / 0.9276 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.3066, allocations: 219.7 kB / 0.9278 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.3066, allocations: 4 kB / 0.9278 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.3072, allocations: 175 kB / 0.928 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.3072, allocations: 24 kB / 0.928 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.054e-06/0.3073, allocations: 4 kB / 0.928 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009803/0.3082, allocations: 0.691 MB / 0.9287 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3083, allocations: 4 kB / 0.9287 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.3083, allocations: 4 kB / 0.9287 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.3088, allocations: 180 kB / 0.9288 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3088, allocations: 7.938 kB / 0.9288 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.3093, allocations: 127 kB / 0.929 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.3093, allocations: 24 kB / 0.929 GB, free: 33.64 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 ($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.0004216/0.3098, allocations: 340 kB / 0.9293 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3099, allocations: 110.6 kB / 0.9294 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.3101, allocations: 115.2 kB / 0.9295 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3101, allocations: 8 kB / 0.9295 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.3101, allocations: 3.938 kB / 0.9295 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.3101, allocations: 7.938 kB / 0.9295 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.311, allocations: 0.9754 MB / 0.9305 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.311, allocations: 3.938 kB / 0.9305 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006466/0.3116, allocations: 183.8 kB / 0.9307 GB, free: 31.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3116, allocations: 3.984 kB / 0.9307 GB, free: 31.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.3117, allocations: 16 kB / 0.9307 GB, free: 31.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3117, allocations: 0 / 0.9307 GB, free: 31.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3117, allocations: 7.938 kB / 0.9307 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.3138, allocations: 1.315 MB / 0.932 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.3139, allocations: 195.5 kB / 0.9322 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.314, allocations: 20 kB / 0.9322 GB, free: 30.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.3145, allocations: 87.92 kB / 0.9323 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3146, allocations: 52.92 kB / 0.9323 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.3146, allocations: 20 kB / 0.9323 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006024/0.3153, allocations: 0.5995 MB / 0.9329 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3153, allocations: 0 / 0.9329 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007314/0.316, allocations: 382.4 kB / 0.9333 GB, free: 29.12 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 (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.002292/0.3183, allocations: 1.895 MB / 0.9351 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.3203, allocations: 1.201 MB / 0.9363 GB, free: 26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3203, allocations: 0 / 0.9363 GB, free: 26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.321, allocations: 426.3 kB / 0.9367 GB, free: 25.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.3219, allocations: 239.5 kB / 0.937 GB, free: 25.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/0.3309, allocations: 7.619 MB / 0.9444 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.3314, allocations: 1.105 MB / 0.9455 GB, free: 16.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005858/0.332, allocations: 132 kB / 0.9456 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.3325, allocations: 463.3 kB / 0.946 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.543e-06/0.3325, allocations: 0 / 0.946 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.3685, allocations: 19.79 MB / 0.9654 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.3688, allocations: 193.3 kB / 0.9656 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.063, allocations: 0 / 0.9656 GB, free: 11.98 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)