Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_9_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.0009805/0.0009803, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001163/0.001163, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 11.98 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7238, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003345/0.7272, allocations: 2.875 MB / 0.9567 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.7309, allocations: 2.029 MB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007939/0.7317, allocations: 25.88 kB / 0.9587 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.7321, allocations: 122.2 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.7324, allocations: 97.08 kB / 0.9589 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/0.7333, allocations: 352.2 kB / 0.9592 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009304/0.7343, allocations: 1.061 MB / 0.9603 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.7349, allocations: 414.5 kB / 0.9607 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.7352, allocations: 288.3 kB / 0.9609 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.7355, allocations: 331 kB / 0.9613 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.7356, allocations: 30.81 kB / 0.9613 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.7357, allocations: 44.55 kB / 0.9613 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.7358, allocations: 133 kB / 0.9615 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.736, allocations: 177.6 kB / 0.9616 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.7368, allocations: 1.058 MB / 0.9627 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.7368, allocations: 0 / 0.9627 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7368, allocations: 0 / 0.9627 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.7368, allocations: 1 kB / 0.9627 GB, free: 1.246 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001902/0.7387, allocations: 1.24 MB / 0.9639 GB, free: 300 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.7388, allocations: 8.781 kB / 0.9639 GB, free: 300 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.7389, allocations: 132.3 kB / 0.964 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.7391, allocations: 126.2 kB / 0.9641 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.7399, allocations: 0.562 MB / 0.9647 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/0.74, allocations: 80.31 kB / 0.9647 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.7402, allocations: 93.95 kB / 0.9648 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.7418, allocations: 0.8647 MB / 0.9657 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.7418, allocations: 5.328 kB / 0.9657 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.7419, allocations: 36.22 kB / 0.9657 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.7419, allocations: 28.77 kB / 0.9657 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.7434, allocations: 0.6693 MB / 0.9664 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.7485, allocations: 3.026 MB / 0.9694 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.75, allocations: 0.7479 MB / 0.9701 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/0.7508, allocations: 391.5 kB / 0.9705 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-05/0.7508, allocations: 15.34 kB / 0.9705 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007699/0.7516, allocations: 370.4 kB / 0.9708 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 3.326e-06/0.7516, allocations: 4 kB / 0.9708 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.001933/0.7536, allocations: 0.8815 MB / 0.9717 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.7537, allocations: 192.8 kB / 0.9719 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/0.7547, allocations: 0.6704 MB / 0.9725 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/0.7548, allocations: 43.08 kB / 0.9726 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.7552, allocations: 429.4 kB / 0.973 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.7554, allocations: 231.7 kB / 0.9732 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.7554, allocations: 17 kB / 0.9732 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7556, allocations: 340.3 kB / 0.9735 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.7563, allocations: 302.8 kB / 0.9738 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.7571, allocations: 496.6 kB / 0.9743 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.7579, allocations: 373.7 kB / 0.9747 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7579, allocations: 1.531 kB / 0.9747 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001845/0.7597, allocations: 0.9032 MB / 0.9755 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.7599, allocations: 212.9 kB / 0.9758 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7599, allocations: 3.781 kB / 0.9758 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.76, allocations: 6.719 kB / 0.9758 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/0.7606, allocations: 182.4 kB / 0.9759 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.7607, allocations: 10.23 kB / 0.9759 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/0.7614, allocations: 175.1 kB / 0.9761 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.7615, allocations: 31 kB / 0.9761 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.7615, allocations: 2.938 kB / 0.9761 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.7628, allocations: 0.6734 MB / 0.9768 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.7629, allocations: 2.438 kB / 0.9768 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.7629, allocations: 7.25 kB / 0.9768 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.7634, allocations: 142.8 kB / 0.9769 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.7634, allocations: 10.56 kB / 0.977 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.764, allocations: 130.9 kB / 0.9771 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.764, allocations: 34.45 kB / 0.9771 GB, free: 7.594 MB / 0.7325 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 (90): * Single equations (assignments): 89 * 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.0005258/0.7646, allocations: 307.4 kB / 0.9774 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.7647, allocations: 76.28 kB / 0.9775 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.7661, allocations: 0.6947 MB / 0.9782 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.7661, allocations: 8 kB / 0.9782 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.7661, allocations: 0 / 0.9782 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.7661, allocations: 7.984 kB / 0.9782 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.7688, allocations: 1.702 MB / 0.9798 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.7688, allocations: 4 kB / 0.9798 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.7693, allocations: 143.8 kB / 0.98 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.036e-06/0.7693, allocations: 4 kB / 0.98 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.7694, allocations: 24.25 kB / 0.98 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/0.7694, allocations: 7.984 kB / 0.98 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.7694, allocations: 11.89 kB / 0.98 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.7713, allocations: 1.14 MB / 0.9811 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.7714, allocations: 164.1 kB / 0.9813 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/0.7715, allocations: 19.94 kB / 0.9813 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.7719, allocations: 63.95 kB / 0.9814 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.772, allocations: 44.45 kB / 0.9814 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.772, allocations: 24 kB / 0.9814 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005849/0.7726, allocations: 475 kB / 0.9819 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7726, allocations: 0 / 0.9819 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009867/0.7736, allocations: 326.7 kB / 0.9822 GB, free: 2.371 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (68): * Single equations (assignments): 67 * 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.002236/0.7759, allocations: 1.72 MB / 0.9839 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00217/0.778, allocations: 1.179 MB / 0.985 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7781, allocations: 0 / 0.985 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.7787, allocations: 332.1 kB / 0.9854 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009563/0.7796, allocations: 170.8 kB / 0.9855 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008066/0.7877, allocations: 4.961 MB / 0.9904 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.7884, allocations: 0.9745 MB / 0.9913 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004301/0.7888, allocations: 97.91 kB / 0.9914 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.7893, allocations: 343.3 kB / 0.9917 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/0.7893, allocations: 0 / 0.9917 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.8224, allocations: 15.91 MB / 1.007 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.8226, allocations: 202.3 kB / 1.007 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.939, allocations: 0 / 1.007 GB, free: 8.402 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat does not exist to compare? outputFormat=mat