Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 191.3 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 0.6305 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009673/0.0009675, allocations: 101.5 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004208, allocations: 13.7 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2812, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00372/0.2849, allocations: 3.677 MB / 0.9831 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003428/0.2884, allocations: 1.493 MB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006407/0.2891, allocations: 31.81 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2892, allocations: 67.17 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007563/0.29, allocations: 243.1 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2912, allocations: 0.5247 MB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.2923, allocations: 0.7821 MB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.2928, allocations: 351.3 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.2933, allocations: 378.2 kB / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.2936, allocations: 329.9 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.2937, allocations: 28 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.44e-05/0.2938, allocations: 24 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.2939, allocations: 131.3 kB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.294, allocations: 173.1 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.2946, allocations: 0.8146 MB / 0.9883 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2946, allocations: 0 / 0.9883 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.686e-06/0.2946, allocations: 0 / 0.9883 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.2947, allocations: 4 kB / 0.9883 GB, free: 18.58 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002107/0.2968, allocations: 1.256 MB / 0.9895 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2968, allocations: 12.02 kB / 0.9895 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.297, allocations: 114.4 kB / 0.9896 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.2972, allocations: 122.5 kB / 0.9897 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.2984, allocations: 0.7035 MB / 0.9904 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2985, allocations: 91.69 kB / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.2986, allocations: 64 kB / 0.9906 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.2998, allocations: 0.7289 MB / 0.9913 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2999, allocations: 0 / 0.9913 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.2999, allocations: 31.98 kB / 0.9913 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.2999, allocations: 16 kB / 0.9913 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009635/0.3009, allocations: 0.5204 MB / 0.9918 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.304, allocations: 2.302 MB / 0.9941 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3053, allocations: 0.6428 MB / 0.9947 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.3054, allocations: 8.547 kB / 0.9947 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000641/0.306, allocations: 338.8 kB / 0.995 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 3.376e-06/0.306, allocations: 0 / 0.995 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001467/0.3075, allocations: 0.7599 MB / 0.9958 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3076, allocations: 93.64 kB / 0.9959 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/0.3083, allocations: 0.7519 MB / 0.9966 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.3083, allocations: 37.7 kB / 0.9966 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.3086, allocations: 440.5 kB / 0.9971 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3087, allocations: 205 kB / 0.9973 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.3088, allocations: 16 kB / 0.9973 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.3088, allocations: 330.1 kB / 0.9976 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.3093, allocations: 209.2 kB / 0.9978 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.3098, allocations: 300.5 kB / 0.9981 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.3102, allocations: 238.2 kB / 0.9983 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3102, allocations: 0 / 0.9983 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001065/0.3113, allocations: 0.6617 MB / 0.9989 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.3115, allocations: 0.8793 MB / 0.9998 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3115, allocations: 0 / 0.9998 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3115, allocations: 12 kB / 0.9998 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.3122, allocations: 147.8 kB / 1 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3122, allocations: 4 kB / 1 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.3126, allocations: 83.28 kB / 1 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.3126, allocations: 23.98 kB / 1 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.3127, allocations: 9.719 kB / 1 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008467/0.3135, allocations: 0.5128 MB / 1.001 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3135, allocations: 4.25 kB / 1.001 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/0.3135, allocations: 8 kB / 1.001 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.3141, allocations: 143.7 kB / 1.001 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3141, allocations: 11.89 kB / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.3145, allocations: 67.41 kB / 1.001 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.3145, allocations: 20 kB / 1.001 GB, free: 5.305 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003735/0.3149, allocations: 300.9 kB / 1.001 GB, free: 5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.315, allocations: 94.81 kB / 1.001 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.3152, allocations: 105.3 kB / 1.001 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3153, allocations: 4 kB / 1.001 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3153, allocations: 7.953 kB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3153, allocations: 0 / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.3173, allocations: 1.454 MB / 1.003 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3173, allocations: 0 / 1.003 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.3178, allocations: 107.8 kB / 1.003 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.3178, allocations: 4 kB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.3179, allocations: 15.95 kB / 1.003 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3179, allocations: 4 kB / 1.003 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3179, allocations: 0 / 1.003 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3193, allocations: 0.9747 MB / 1.004 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.3196, allocations: 227.6 kB / 1.004 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.3197, allocations: 12 kB / 1.004 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.3201, allocations: 47.91 kB / 1.004 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.3202, allocations: 36.52 kB / 1.004 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.3202, allocations: 19.98 kB / 1.004 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005576/0.3208, allocations: 0.5109 MB / 1.005 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3208, allocations: 0 / 1.005 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007572/0.3216, allocations: 271.1 kB / 1.005 GB, free: 1.016 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001967/0.3235, allocations: 1.546 MB / 1.006 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.3253, allocations: 0.8042 MB / 1.007 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3253, allocations: 0 / 1.007 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.3258, allocations: 271.1 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3269, allocations: 236.1 kB / 1.008 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.331, allocations: 3.637 MB / 1.011 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.3317, allocations: 1.013 MB / 1.012 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006034/0.3323, allocations: 118.9 kB / 1.012 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.3328, allocations: 351.3 kB / 1.013 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.3328, allocations: 3.938 kB / 1.013 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.3681, allocations: 16.02 MB / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.3684, allocations: 201.7 kB / 1.028 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/2.978, allocations: 4 kB / 1.029 GB, free: 8.848 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)