Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007054/0.0007054, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005089/0.005089, allocations: 170.4 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005034, allocations: 18.77 kB / 0.6744 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003744/0.2195, allocations: 3.115 MB / 0.7911 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00344/0.2229, allocations: 2.034 MB / 0.793 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.2238, allocations: 23.94 kB / 0.7931 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.2243, allocations: 122.8 kB / 0.7932 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007448/0.2251, allocations: 111.2 kB / 0.7933 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.2261, allocations: 434.7 kB / 0.7937 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2275, allocations: 1.119 MB / 0.7948 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.2286, allocations: 0.5442 MB / 0.7953 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.229, allocations: 290.2 kB / 0.7956 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.2294, allocations: 353.6 kB / 0.7959 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/0.2294, allocations: 31.94 kB / 0.796 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2296, allocations: 43.98 kB / 0.796 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2297, allocations: 135.1 kB / 0.7961 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.23, allocations: 418.8 kB / 0.7965 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009548/0.231, allocations: 1.277 MB / 0.7978 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.231, allocations: 0 / 0.7978 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.231, allocations: 0 / 0.7978 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.231, allocations: 0 / 0.7978 GB, free: 1.398 MB / 0.6075 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.002076/0.2331, allocations: 1.266 MB / 0.799 GB, free: 72 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2331, allocations: 12.03 kB / 0.799 GB, free: 60 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.2333, allocations: 131.1 kB / 0.7992 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.2334, allocations: 123.5 kB / 0.7993 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.2342, allocations: 0.6461 MB / 0.7999 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.2343, allocations: 66.38 kB / 0.8 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.2344, allocations: 92.28 kB / 0.8001 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.2358, allocations: 0.8251 MB / 0.8009 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2358, allocations: 7.875 kB / 0.8009 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.2359, allocations: 40 kB / 0.8009 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.2359, allocations: 24 kB / 0.8009 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.2372, allocations: 0.6441 MB / 0.8016 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.241, allocations: 2.84 MB / 0.8043 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.2424, allocations: 0.7254 MB / 0.8051 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.2431, allocations: 361.7 kB / 0.8054 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.2432, allocations: 8.547 kB / 0.8054 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000716/0.2439, allocations: 339.1 kB / 0.8057 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/0.2439, allocations: 7.938 kB / 0.8057 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001735/0.2456, allocations: 0.8259 MB / 0.8065 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.2458, allocations: 188.5 kB / 0.8067 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.2467, allocations: 0.7155 MB / 0.8074 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.2468, allocations: 37.7 kB / 0.8075 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.2471, allocations: 455.7 kB / 0.8079 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.2473, allocations: 205 kB / 0.8081 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.2474, allocations: 61.69 kB / 0.8081 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2475, allocations: 334 kB / 0.8085 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.2481, allocations: 273.5 kB / 0.8087 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.2489, allocations: 476.7 kB / 0.8092 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.2502, allocations: 0.6574 MB / 0.8098 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2502, allocations: 0 / 0.8098 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001567/0.2518, allocations: 0.8606 MB / 0.8107 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.252, allocations: 207.4 kB / 0.8109 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.252, allocations: 4.094 kB / 0.8109 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.252, allocations: 11.94 kB / 0.8109 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.2526, allocations: 151.8 kB / 0.811 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.2526, allocations: 11.94 kB / 0.811 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007088/0.2533, allocations: 159.2 kB / 0.8112 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.2534, allocations: 31.98 kB / 0.8112 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.2534, allocations: 6.812 kB / 0.8112 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009167/0.2543, allocations: 0.6136 MB / 0.8118 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2543, allocations: 0 / 0.8118 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.2544, allocations: 8.375 kB / 0.8118 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.2548, allocations: 119.8 kB / 0.8119 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2548, allocations: 8 kB / 0.8119 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.2553, allocations: 127.2 kB / 0.8121 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.2554, allocations: 24 kB / 0.8121 GB, free: 2.223 MB / 0.6231 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,pulse.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003394/0.2557, allocations: 311.8 kB / 0.8124 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.2558, allocations: 82.91 kB / 0.8125 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.256, allocations: 88.02 kB / 0.8126 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.256, allocations: 4 kB / 0.8126 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.256, allocations: 0 / 0.8126 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.256, allocations: 4 kB / 0.8126 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.2568, allocations: 0.7746 MB / 0.8133 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2568, allocations: 3.938 kB / 0.8133 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.2573, allocations: 119.8 kB / 0.8134 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.2573, allocations: 4 kB / 0.8134 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.2574, allocations: 19.98 kB / 0.8135 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.2574, allocations: 4 kB / 0.8135 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2574, allocations: 0 / 0.8135 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.2592, allocations: 0.9487 MB / 0.8144 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2593, allocations: 163.9 kB / 0.8145 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.2594, allocations: 15.98 kB / 0.8146 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.2598, allocations: 59.95 kB / 0.8146 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.2598, allocations: 32.52 kB / 0.8146 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.2599, allocations: 16 kB / 0.8147 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005815/0.2605, allocations: 0.4951 MB / 0.8151 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2605, allocations: 0 / 0.8151 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007482/0.2612, allocations: 310.7 kB / 0.8154 GB, free: 14.68 MB / 0.6387 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 (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.002066/0.2633, allocations: 1.517 MB / 0.8169 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.2651, allocations: 1.077 MB / 0.818 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2651, allocations: 0 / 0.818 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.2657, allocations: 299.4 kB / 0.8183 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008134/0.2665, allocations: 167.1 kB / 0.8184 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.277, allocations: 7.157 MB / 0.8254 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.2776, allocations: 0.9818 MB / 0.8264 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003684/0.278, allocations: 105.9 kB / 0.8265 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.2784, allocations: 339.3 kB / 0.8268 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.2784, allocations: 4 kB / 0.8268 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.3089, allocations: 15.17 MB / 0.8416 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.3091, allocations: 203.2 kB / 0.8418 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.328, allocations: 0 / 0.8418 GB, free: 3.531 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)