Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.997/2.997, allocations: 287.3 MB / 302.3 MB, free: 8.207 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.001734/0.001734, allocations: 177.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001148/0.001148, allocations: 92.45 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006552, allocations: 14.52 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2122, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004045/0.2163, allocations: 2.894 MB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.2203, allocations: 2.015 MB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009359/0.2213, allocations: 23.88 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.2216, allocations: 71.11 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2227, allocations: 184.3 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.2241, allocations: 367.4 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.2259, allocations: 0.6872 MB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008475/0.2268, allocations: 399.9 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.2272, allocations: 286.5 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.2276, allocations: 326 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.2278, allocations: 32 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.2279, allocations: 43.98 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.2281, allocations: 135.3 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.2282, allocations: 173.1 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2294, allocations: 1.064 MB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2294, allocations: 4 kB / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2294, allocations: 0 / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.2294, allocations: 0 / 0.9868 GB, free: 19.57 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.003246/0.2327, allocations: 1.278 MB / 0.988 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.2328, allocations: 12.02 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/0.233, allocations: 127 kB / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.2333, allocations: 122.6 kB / 0.9882 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.2345, allocations: 0.6258 MB / 0.9889 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.2346, allocations: 58 kB / 0.9889 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.2348, allocations: 91.91 kB / 0.989 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.2368, allocations: 0.8284 MB / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.2369, allocations: 0 / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.796e-05/0.237, allocations: 36 kB / 0.9898 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.237, allocations: 20 kB / 0.9899 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.239, allocations: 0.6402 MB / 0.9905 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005707/0.2448, allocations: 2.848 MB / 0.9933 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.2474, allocations: 0.7395 MB / 0.994 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-05/0.2475, allocations: 12.56 kB / 0.994 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.2485, allocations: 335 kB / 0.9943 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.807e-06/0.2485, allocations: 0 / 0.9943 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.002687/0.2512, allocations: 0.8262 MB / 0.9951 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.2513, allocations: 188.5 kB / 0.9953 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.2524, allocations: 0.7038 MB / 0.996 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.2526, allocations: 41.7 kB / 0.996 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.2529, allocations: 451.7 kB / 0.9965 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.2531, allocations: 201.1 kB / 0.9967 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.2532, allocations: 23.94 kB / 0.9967 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.2533, allocations: 330 kB / 0.997 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009255/0.2542, allocations: 273.5 kB / 0.9973 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.2553, allocations: 460.7 kB / 0.9977 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.2563, allocations: 336.7 kB / 0.998 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.2563, allocations: 4 kB / 0.998 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002452/0.2588, allocations: 0.8411 MB / 0.9988 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002738/0.2591, allocations: 1.173 MB / 1 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.2591, allocations: 4 kB / 1 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.2592, allocations: 4 kB / 1 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.2602, allocations: 159.7 kB / 1 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.2603, allocations: 4 kB / 1 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.2615, allocations: 171.2 kB / 1 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.2616, allocations: 31.98 kB / 1 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2616, allocations: 4 kB / 1 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/0.263, allocations: 0.5981 MB / 1.001 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.263, allocations: 4.375 kB / 1.001 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.263, allocations: 8 kB / 1.001 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008005/0.2638, allocations: 123.8 kB / 1.001 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2639, allocations: 4 kB / 1.001 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.2648, allocations: 131.2 kB / 1.001 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.2649, allocations: 28 kB / 1.001 GB, free: 4.234 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.0005054/0.2654, allocations: 300.9 kB / 1.002 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.2656, allocations: 82.97 kB / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.2658, allocations: 88.02 kB / 1.002 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.2658, allocations: 15.95 kB / 1.002 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2658, allocations: 0 / 1.002 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2658, allocations: 0 / 1.002 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2669, allocations: 0.7668 MB / 1.002 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2669, allocations: 0 / 1.002 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.2679, allocations: 119.9 kB / 1.003 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.2679, allocations: 7.984 kB / 1.003 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.268, allocations: 15.98 kB / 1.003 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.268, allocations: 4 kB / 1.003 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.268, allocations: 3.953 kB / 1.003 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.2708, allocations: 0.9408 MB / 1.003 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.2711, allocations: 164 kB / 1.004 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.2712, allocations: 15.98 kB / 1.004 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.2718, allocations: 63.95 kB / 1.004 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.272, allocations: 28.52 kB / 1.004 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.272, allocations: 19.95 kB / 1.004 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000811/0.2728, allocations: 495.1 kB / 1.004 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2729, allocations: 3.938 kB / 1.004 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001103/0.274, allocations: 310.7 kB / 1.005 GB, free: 0.7227 MB / 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.00339/0.2774, allocations: 1.509 MB / 1.006 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003373/0.2808, allocations: 1.069 MB / 1.007 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.2809, allocations: 8.109 kB / 1.007 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.2819, allocations: 299 kB / 1.007 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.2833, allocations: 157.6 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006152/0.2894, allocations: 4.359 MB / 1.012 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.2902, allocations: 1.002 MB / 1.013 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006927/0.2909, allocations: 101.9 kB / 1.013 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/0.2917, allocations: 351.3 kB / 1.013 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.2917, allocations: 0 / 1.013 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07297/0.3647, allocations: 15.28 MB / 1.028 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.365, allocations: 190.4 kB / 1.028 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/3.465, allocations: 3.938 kB / 1.028 GB, free: 8.348 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)