Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.707/1.707, allocations: 288.4 MB / 303.3 MB, free: 8.039 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.001244/0.001244, allocations: 179.2 kB / 372 MB, free: 10.27 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.611/1.611, allocations: 205.4 MB / 0.6307 GB, free: 9.922 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.0007683/0.0007682, allocations: 94.31 kB / 0.744 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005297, allocations: 13.19 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2364, allocations: 115.3 MB / 0.9797 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.002428/0.2389, allocations: 2.851 MB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.241, allocations: 2.014 MB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.2414, allocations: 15.94 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.2416, allocations: 114.8 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.242, allocations: 111.2 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.2426, allocations: 335.4 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.2432, allocations: 1.057 MB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.2436, allocations: 407.8 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.2439, allocations: 278.4 kB / 0.9867 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.2441, allocations: 325.9 kB / 0.987 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.403e-05/0.2442, allocations: 32 kB / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.2443, allocations: 47.97 kB / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.211e-05/0.2444, allocations: 131.2 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.2446, allocations: 177.1 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.2452, allocations: 1.072 MB / 0.9884 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2452, allocations: 0 / 0.9884 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2453, allocations: 0 / 0.9884 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.2453, allocations: 0 / 0.9884 GB, free: 18.55 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002092/0.2474, allocations: 1.27 MB / 0.9896 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.2474, allocations: 16.02 kB / 0.9896 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.2476, allocations: 123 kB / 0.9898 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.2477, allocations: 118.6 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.2484, allocations: 0.6297 MB / 0.9905 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.2485, allocations: 62 kB / 0.9905 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.2486, allocations: 91.91 kB / 0.9906 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2498, allocations: 0.8284 MB / 0.9914 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2498, allocations: 0 / 0.9914 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.2499, allocations: 32 kB / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.2499, allocations: 23.94 kB / 0.9915 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.2509, allocations: 0.648 MB / 0.9921 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.254, allocations: 2.848 MB / 0.9949 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.2552, allocations: 0.7213 MB / 0.9956 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.2557, allocations: 359.6 kB / 0.9959 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.2557, allocations: 8.5 kB / 0.996 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.2563, allocations: 343 kB / 0.9963 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.006e-06/0.2563, allocations: 3.984 kB / 0.9963 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.00145/0.2578, allocations: 0.8181 MB / 0.9971 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.2578, allocations: 188.5 kB / 0.9973 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.2585, allocations: 0.7116 MB / 0.998 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.2585, allocations: 37.7 kB / 0.998 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.2587, allocations: 455.7 kB / 0.9984 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.2588, allocations: 201.1 kB / 0.9986 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.2589, allocations: 16 kB / 0.9986 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.2589, allocations: 334 kB / 0.999 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.2594, allocations: 273.5 kB / 0.9992 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.26, allocations: 456.7 kB / 0.9997 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.2605, allocations: 348.7 kB / 1 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2605, allocations: 3.938 kB / 1 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001253/0.2618, allocations: 0.8411 MB / 1.001 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/0.2619, allocations: 211.4 kB / 1.001 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2619, allocations: 4 kB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2619, allocations: 12 kB / 1.001 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.2625, allocations: 151.7 kB / 1.001 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2625, allocations: 8 kB / 1.001 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.2631, allocations: 163.2 kB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.2631, allocations: 27.98 kB / 1.001 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.2632, allocations: 4 kB / 1.001 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007306/0.2639, allocations: 0.6023 MB / 1.002 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2639, allocations: 8.062 kB / 1.002 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.2639, allocations: 8 kB / 1.002 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.2643, allocations: 115.8 kB / 1.002 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2643, allocations: 8 kB / 1.002 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.2648, allocations: 131.2 kB / 1.002 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.2648, allocations: 24 kB / 1.002 GB, free: 3.863 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * 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.0002659/0.2651, allocations: 308.9 kB / 1.003 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.2652, allocations: 78.97 kB / 1.003 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2653, allocations: 92.02 kB / 1.003 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2653, allocations: 4 kB / 1.003 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2653, allocations: 0 / 1.003 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2653, allocations: 3.953 kB / 1.003 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.2659, allocations: 0.7707 MB / 1.003 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2659, allocations: 0 / 1.003 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.2664, allocations: 119.9 kB / 1.004 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2664, allocations: 4 kB / 1.004 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.2664, allocations: 15.98 kB / 1.004 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2664, allocations: 0 / 1.004 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2664, allocations: 0 / 1.004 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.2678, allocations: 0.9447 MB / 1.005 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.268, allocations: 164.1 kB / 1.005 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.268, allocations: 19.98 kB / 1.005 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.2683, allocations: 59.95 kB / 1.005 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.2684, allocations: 36.45 kB / 1.005 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.2684, allocations: 16 kB / 1.005 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004324/0.2689, allocations: 495 kB / 1.005 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2689, allocations: 4 kB / 1.005 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005728/0.2695, allocations: 310.7 kB / 1.006 GB, free: 360 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.002014/0.2715, allocations: 1.517 MB / 1.007 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.2733, allocations: 1.061 MB / 1.008 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2733, allocations: 8.109 kB / 1.008 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.2739, allocations: 299 kB / 1.008 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.2746, allocations: 167.2 kB / 1.009 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/0.2817, allocations: 4.918 MB / 1.013 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.2822, allocations: 0.9743 MB / 1.014 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003599/0.2825, allocations: 97.89 kB / 1.014 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.283, allocations: 351.3 kB / 1.015 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.283, allocations: 0 / 1.015 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3119, allocations: 15.73 MB / 1.03 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.3122, allocations: 200.1 kB / 1.03 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/2.593, allocations: 8.062 kB / 1.03 GB, free: 6.984 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)