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.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001308/0.001308, allocations: 171.1 kB / 326.5 MB, free: 2.273 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.039/2.039, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009457/0.0009457, allocations: 89.48 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003688, allocations: 14.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.00352/0.2762, allocations: 3.724 MB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.2791, allocations: 1.362 MB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007764/0.2799, allocations: 19.94 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.2801, allocations: 79.03 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006093/0.2808, allocations: 179.3 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.2813, allocations: 267.7 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008704/0.2822, allocations: 0.7178 MB / 0.9064 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006932/0.2829, allocations: 485.2 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.2833, allocations: 258.5 kB / 0.9071 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.2836, allocations: 325.8 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.2837, allocations: 28 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.2837, allocations: 28 kB / 0.9074 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2839, allocations: 143.2 kB / 0.9076 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.284, allocations: 181.1 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008659/0.2849, allocations: 1.072 MB / 0.9088 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2849, allocations: 3.938 kB / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2849, allocations: 0 / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.1e-05/0.2849, allocations: 4 kB / 0.9088 GB, free: 54.97 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.00215/0.2871, allocations: 1.283 MB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2872, allocations: 12.03 kB / 0.9101 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.2873, allocations: 148 kB / 0.9102 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.2875, allocations: 138.4 kB / 0.9103 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.2883, allocations: 0.6295 MB / 0.911 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.2884, allocations: 74 kB / 0.911 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.2885, allocations: 100 kB / 0.9111 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.2901, allocations: 0.9592 MB / 0.9121 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.2901, allocations: 0 / 0.9121 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.2902, allocations: 44 kB / 0.9121 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.2902, allocations: 28 kB / 0.9121 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.2914, allocations: 0.6948 MB / 0.9128 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/0.2954, allocations: 3.58 MB / 0.9163 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2965, allocations: 0.7224 MB / 0.917 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/0.2965, allocations: 12.66 kB / 0.917 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006765/0.2972, allocations: 368.3 kB / 0.9174 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.977e-06/0.2972, allocations: 3.938 kB / 0.9174 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001512/0.2988, allocations: 0.8757 MB / 0.9182 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.2988, allocations: 166.9 kB / 0.9184 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.2995, allocations: 0.6767 MB / 0.919 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.2996, allocations: 41.7 kB / 0.9191 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.2998, allocations: 487.8 kB / 0.9196 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3, allocations: 252.4 kB / 0.9198 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.3, allocations: 12 kB / 0.9198 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.3001, allocations: 337.9 kB / 0.9201 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.3005, allocations: 257.8 kB / 0.9204 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.301, allocations: 400.7 kB / 0.9208 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.3015, allocations: 302.9 kB / 0.921 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3015, allocations: 3.984 kB / 0.921 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001126/0.3027, allocations: 0.7776 MB / 0.9218 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.3028, allocations: 0.6124 MB / 0.9224 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3028, allocations: 7.984 kB / 0.9224 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3029, allocations: 4 kB / 0.9224 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.3034, allocations: 171.7 kB / 0.9226 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3035, allocations: 8.062 kB / 0.9226 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.3039, allocations: 115.2 kB / 0.9227 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.3039, allocations: 31.98 kB / 0.9227 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.3039, allocations: 4 kB / 0.9227 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006524/0.3046, allocations: 0.5505 MB / 0.9233 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3046, allocations: 12.14 kB / 0.9233 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.01e-06/0.3046, allocations: 4 kB / 0.9233 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.305, allocations: 139.8 kB / 0.9234 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3051, allocations: 8 kB / 0.9234 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.3054, allocations: 83.27 kB / 0.9235 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.3054, allocations: 24 kB / 0.9235 GB, free: 39.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,$whenCondition1,limPIDInp.trigger,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0004116/0.3058, allocations: 316.9 kB / 0.9238 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.3059, allocations: 82.97 kB / 0.9239 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.3061, allocations: 96.75 kB / 0.924 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3061, allocations: 8 kB / 0.924 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.3061, allocations: 0 / 0.924 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3062, allocations: 7.984 kB / 0.924 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.3082, allocations: 1.667 MB / 0.9256 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3082, allocations: 7.891 kB / 0.9257 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.3088, allocations: 139.9 kB / 0.9258 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3088, allocations: 4 kB / 0.9258 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.3088, allocations: 16 kB / 0.9258 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.3088, allocations: 4 kB / 0.9258 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3088, allocations: 0 / 0.9258 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.3104, allocations: 1.104 MB / 0.9269 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3105, allocations: 175.8 kB / 0.9271 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.3106, allocations: 16 kB / 0.9271 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.3109, allocations: 51.95 kB / 0.9271 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.311, allocations: 36.61 kB / 0.9272 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.311, allocations: 27.98 kB / 0.9272 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004731/0.3115, allocations: 467 kB / 0.9276 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3115, allocations: 0 / 0.9276 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007103/0.3122, allocations: 342.2 kB / 0.928 GB, free: 34.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.001746/0.314, allocations: 1.676 MB / 0.9296 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.3155, allocations: 0.9428 MB / 0.9305 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.3155, allocations: 4 kB / 0.9305 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.316, allocations: 332.1 kB / 0.9308 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.3168, allocations: 190 kB / 0.931 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006947/0.3238, allocations: 6.04 MB / 0.9369 GB, free: 25.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3242, allocations: 1.045 MB / 0.9379 GB, free: 24.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004497/0.3247, allocations: 94.28 kB / 0.938 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.3251, allocations: 399.3 kB / 0.9384 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of SimCode: time 1.372e-06/0.3251, allocations: 0 / 0.9384 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.356, allocations: 15.64 MB / 0.9537 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.3562, allocations: 202.8 kB / 0.9539 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/2.813, allocations: 0 / 0.9539 GB, free: 8.246 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)