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.379/1.379, allocations: 252 MB / 267.3 MB, free: 10.86 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.001128/0.001128, allocations: 168.5 kB / 327 MB, free: 2.105 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.72/1.72, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0007466/0.0007466, allocations: 100.5 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 12.22 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004399/0.2261, allocations: 4.995 MB / 0.9058 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003582/0.2298, allocations: 1.744 MB / 0.9075 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008036/0.2306, allocations: 31.88 kB / 0.9076 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.231, allocations: 202.1 kB / 0.9077 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.2316, allocations: 134.9 kB / 0.9079 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.2323, allocations: 455.5 kB / 0.9083 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009009/0.2332, allocations: 1.413 MB / 0.9097 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007632/0.234, allocations: 0.6755 MB / 0.9103 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.2343, allocations: 353.6 kB / 0.9107 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.2346, allocations: 425 kB / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.2347, allocations: 32 kB / 0.9111 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.2347, allocations: 36 kB / 0.9112 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2348, allocations: 186.8 kB / 0.9113 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.2351, allocations: 0.4941 MB / 0.9118 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.2359, allocations: 1.537 MB / 0.9133 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2359, allocations: 4 kB / 0.9133 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2359, allocations: 0 / 0.9133 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.2359, allocations: 4 kB / 0.9133 GB, free: 50.59 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.002237/0.2382, allocations: 1.506 MB / 0.9148 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2382, allocations: 20.02 kB / 0.9148 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.2384, allocations: 152.7 kB / 0.915 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.2385, allocations: 155.1 kB / 0.9151 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.2394, allocations: 0.7702 MB / 0.9159 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.2394, allocations: 78.45 kB / 0.9159 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.2395, allocations: 112.3 kB / 0.916 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2411, allocations: 1.122 MB / 0.9171 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.2412, allocations: 3.938 kB / 0.9171 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.2412, allocations: 40 kB / 0.9172 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.2412, allocations: 28 kB / 0.9172 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.2428, allocations: 0.8822 MB / 0.9181 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.247, allocations: 4.155 MB / 0.9221 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.249, allocations: 1.092 MB / 0.9232 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/0.2498, allocations: 495.6 kB / 0.9237 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.2499, allocations: 16.92 kB / 0.9237 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008583/0.2507, allocations: 476.9 kB / 0.9241 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 3.647e-06/0.2507, allocations: 0 / 0.9241 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.002135/0.2529, allocations: 1.14 MB / 0.9252 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.253, allocations: 226.6 kB / 0.9255 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/0.2539, allocations: 0.886 MB / 0.9263 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.2539, allocations: 49.69 kB / 0.9264 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.2542, allocations: 0.5391 MB / 0.9269 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.2544, allocations: 283.8 kB / 0.9272 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.2544, allocations: 23.94 kB / 0.9272 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.2545, allocations: 337.9 kB / 0.9275 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/0.2552, allocations: 357.8 kB / 0.9279 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.2559, allocations: 0.5397 MB / 0.9284 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.2573, allocations: 0.7963 MB / 0.9292 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2573, allocations: 0 / 0.9292 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001626/0.2589, allocations: 1.012 MB / 0.9302 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.259, allocations: 148.2 kB / 0.9303 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.259, allocations: 4 kB / 0.9303 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.2591, allocations: 4 kB / 0.9303 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.2598, allocations: 219.7 kB / 0.9305 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2598, allocations: 4 kB / 0.9305 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.2604, allocations: 186.8 kB / 0.9307 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.2605, allocations: 24 kB / 0.9307 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.2605, allocations: 4 kB / 0.9307 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.2615, allocations: 0.7028 MB / 0.9314 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2616, allocations: 0 / 0.9314 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.2616, allocations: 8 kB / 0.9314 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/0.2621, allocations: 171.7 kB / 0.9316 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.2622, allocations: 8 kB / 0.9316 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.2626, allocations: 123.3 kB / 0.9317 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.2627, allocations: 24 kB / 0.9317 GB, free: 31.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003999/0.2631, allocations: 342.9 kB / 0.9321 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2632, allocations: 110.6 kB / 0.9322 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.2633, allocations: 119.2 kB / 0.9323 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2634, allocations: 8 kB / 0.9323 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2634, allocations: 0 / 0.9323 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2634, allocations: 3.984 kB / 0.9323 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.2642, allocations: 0.9753 MB / 0.9332 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2642, allocations: 7.938 kB / 0.9332 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.2649, allocations: 179.8 kB / 0.9334 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2649, allocations: 4 kB / 0.9334 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.2649, allocations: 16 kB / 0.9334 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2649, allocations: 7.938 kB / 0.9334 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2649, allocations: 0 / 0.9334 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.2672, allocations: 1.335 MB / 0.9347 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.2674, allocations: 195.5 kB / 0.9349 GB, free: 27.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2675, allocations: 16 kB / 0.9349 GB, free: 27.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.2679, allocations: 87.86 kB / 0.935 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.2681, allocations: 52.92 kB / 0.9351 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.2681, allocations: 20 kB / 0.9351 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007894/0.2689, allocations: 0.6074 MB / 0.9357 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.269, allocations: 0 / 0.9357 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009537/0.2699, allocations: 374.5 kB / 0.936 GB, free: 26.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002508/0.2724, allocations: 1.898 MB / 0.9379 GB, free: 24.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.2746, allocations: 1.225 MB / 0.9391 GB, free: 23.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2746, allocations: 0 / 0.9391 GB, free: 23.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.2753, allocations: 421.8 kB / 0.9395 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.2764, allocations: 248 kB / 0.9397 GB, free: 22.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.2875, allocations: 9.101 MB / 0.9486 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.288, allocations: 1.081 MB / 0.9497 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005556/0.2885, allocations: 136.3 kB / 0.9498 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/0.2891, allocations: 463.3 kB / 0.9503 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.2891, allocations: 0 / 0.9503 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.3201, allocations: 19.02 MB / 0.9688 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.3204, allocations: 224.8 kB / 0.969 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.796/3.116, allocations: 7.859 kB / 0.969 GB, free: 8.668 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)