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.418/1.418, allocations: 252 MB / 267 MB, free: 10.99 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.001097/0.001097, allocations: 179.9 kB / 326.6 MB, free: 2.246 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.934/1.934, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0008493/0.0008491, allocations: 80.77 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 12.62 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2422, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004788/0.247, allocations: 3.688 MB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.2506, allocations: 1.354 MB / 0.9053 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.2517, allocations: 19.94 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.2522, allocations: 154.5 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007135/0.253, allocations: 91.19 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.2539, allocations: 251.7 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.2551, allocations: 1.018 MB / 0.9067 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008445/0.2559, allocations: 485.2 kB / 0.9072 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.2563, allocations: 258.3 kB / 0.9074 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.2567, allocations: 321.7 kB / 0.9078 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.2568, allocations: 28 kB / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.2569, allocations: 32 kB / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.257, allocations: 147.1 kB / 0.908 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.2572, allocations: 181.1 kB / 0.9081 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.2582, allocations: 1.075 MB / 0.9092 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2582, allocations: 3.938 kB / 0.9092 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2582, allocations: 0 / 0.9092 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.2583, allocations: 0 / 0.9092 GB, free: 54.66 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.002935/0.2612, allocations: 1.286 MB / 0.9104 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.2613, allocations: 8.031 kB / 0.9104 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.2615, allocations: 152 kB / 0.9106 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.2618, allocations: 142.3 kB / 0.9107 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.2629, allocations: 0.6295 MB / 0.9113 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/0.263, allocations: 74 kB / 0.9114 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.2632, allocations: 104 kB / 0.9115 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.2654, allocations: 0.967 MB / 0.9125 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.2654, allocations: 0 / 0.9125 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.2655, allocations: 40 kB / 0.9125 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.2655, allocations: 24 kB / 0.9125 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.2675, allocations: 0.6987 MB / 0.9132 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/0.2735, allocations: 3.584 MB / 0.9167 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.2753, allocations: 0.7262 MB / 0.9174 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009214/0.2762, allocations: 418.9 kB / 0.9178 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.2763, allocations: 12.59 kB / 0.9178 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.2773, allocations: 364.4 kB / 0.9182 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 4.679e-06/0.2773, allocations: 0 / 0.9182 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.002473/0.2798, allocations: 0.8835 MB / 0.919 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.2799, allocations: 162.9 kB / 0.9192 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.281, allocations: 0.6767 MB / 0.9198 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.2811, allocations: 41.7 kB / 0.9199 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.2814, allocations: 487.8 kB / 0.9203 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.2817, allocations: 252.3 kB / 0.9206 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.2817, allocations: 16 kB / 0.9206 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.2818, allocations: 337.9 kB / 0.9209 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.2825, allocations: 249.9 kB / 0.9212 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.2833, allocations: 407.7 kB / 0.9216 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.2842, allocations: 298.9 kB / 0.9218 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.2842, allocations: 3.953 kB / 0.9218 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00195/0.2862, allocations: 0.7776 MB / 0.9226 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/0.2863, allocations: 138.3 kB / 0.9227 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2863, allocations: 4 kB / 0.9227 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.2863, allocations: 4 kB / 0.9227 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.2873, allocations: 171.7 kB / 0.9229 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.2873, allocations: 8 kB / 0.9229 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.288, allocations: 115.2 kB / 0.923 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.2881, allocations: 24 kB / 0.923 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.2881, allocations: 4 kB / 0.9231 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/0.2893, allocations: 0.5544 MB / 0.9236 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2893, allocations: 12.14 kB / 0.9236 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2893, allocations: 4 kB / 0.9236 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.2901, allocations: 135.8 kB / 0.9237 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2901, allocations: 8 kB / 0.9237 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.2907, allocations: 87.25 kB / 0.9238 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.2907, allocations: 23.94 kB / 0.9239 GB, free: 39.2 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.0005282/0.2913, allocations: 320.9 kB / 0.9242 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.2914, allocations: 82.97 kB / 0.9242 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.2916, allocations: 96.77 kB / 0.9243 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2917, allocations: 8 kB / 0.9243 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.2917, allocations: 0 / 0.9243 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2917, allocations: 3.984 kB / 0.9243 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.2949, allocations: 1.667 MB / 0.926 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.2949, allocations: 7.938 kB / 0.926 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/0.2958, allocations: 139.9 kB / 0.9261 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.2959, allocations: 4 kB / 0.9261 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.2959, allocations: 15.98 kB / 0.9261 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.2959, allocations: 4 kB / 0.9261 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.296, allocations: 3.938 kB / 0.9261 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.2985, allocations: 1.092 MB / 0.9272 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.2987, allocations: 183.8 kB / 0.9274 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2988, allocations: 16 kB / 0.9274 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.2994, allocations: 51.97 kB / 0.9274 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2995, allocations: 44.59 kB / 0.9275 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.2996, allocations: 23.98 kB / 0.9275 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007495/0.3003, allocations: 471 kB / 0.928 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3003, allocations: 0 / 0.928 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001114/0.3015, allocations: 338.2 kB / 0.9283 GB, free: 34.56 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.002907/0.3044, allocations: 1.68 MB / 0.9299 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.3068, allocations: 0.9389 MB / 0.9308 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.3069, allocations: 4 kB / 0.9308 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.3076, allocations: 332.1 kB / 0.9312 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.3092, allocations: 204.3 kB / 0.9314 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008923/0.3182, allocations: 5.152 MB / 0.9364 GB, free: 26.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.3187, allocations: 1.022 MB / 0.9374 GB, free: 25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004501/0.3192, allocations: 110.3 kB / 0.9375 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.3196, allocations: 397.7 kB / 0.9379 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.262e-06/0.3196, allocations: 0 / 0.9379 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.3575, allocations: 15.66 MB / 0.9532 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.3577, allocations: 209.4 kB / 0.9534 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/2.798, allocations: 4 kB / 0.9534 GB, free: 8.887 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)