Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",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.0007517/0.0007515, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0007851/0.0007851, allocations: 168.7 kB / 15.95 MB, free: 204 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.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.434 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.386/2.386, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003494, allocations: 15.94 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7298, allocations: 142.3 MB / 0.9539 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004841/0.7347, allocations: 4.62 MB / 0.9584 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.7383, allocations: 1.673 MB / 0.96 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.7396, allocations: 31.25 kB / 0.96 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.7401, allocations: 186.8 kB / 0.9602 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.7407, allocations: 127.5 kB / 0.9603 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.7418, allocations: 421.7 kB / 0.9607 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.7432, allocations: 1.375 MB / 0.9621 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008101/0.744, allocations: 0.5174 MB / 0.9626 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.7444, allocations: 341.7 kB / 0.9629 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.7448, allocations: 410.8 kB / 0.9633 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.7449, allocations: 37.22 kB / 0.9633 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.745, allocations: 47.23 kB / 0.9634 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.7452, allocations: 173.5 kB / 0.9636 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.7454, allocations: 218.2 kB / 0.9638 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.7465, allocations: 1.431 MB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7465, allocations: 0 / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.245e-06/0.7465, allocations: 0 / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.7466, allocations: 0 / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002633/0.7492, allocations: 1.518 MB / 0.9666 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.7492, allocations: 9.281 kB / 0.9667 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002247/0.7495, allocations: 164.8 kB / 0.9668 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.7498, allocations: 159.5 kB / 0.967 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.7508, allocations: 0.7083 MB / 0.9677 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-05/0.751, allocations: 85.67 kB / 0.9677 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.7512, allocations: 117.2 kB / 0.9678 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.7533, allocations: 1.099 MB / 0.9689 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.7533, allocations: 1.156 kB / 0.9689 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.738e-05/0.7534, allocations: 50.91 kB / 0.969 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.7535, allocations: 34.66 kB / 0.969 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.7553, allocations: 0.8476 MB / 0.9698 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005657/0.761, allocations: 3.943 MB / 0.9737 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.7632, allocations: 1.025 MB / 0.9747 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008704/0.764, allocations: 480.1 kB / 0.9751 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.7641, allocations: 12.95 kB / 0.9752 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.765, allocations: 445.7 kB / 0.9756 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=84): time 2.825e-06/0.765, allocations: 4.969 kB / 0.9756 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.002379/0.7674, allocations: 1.093 MB / 0.9767 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.7676, allocations: 221.1 kB / 0.9769 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.7688, allocations: 0.8592 MB / 0.9777 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.404e-05/0.7689, allocations: 44.83 kB / 0.9777 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/0.7695, allocations: 0.5504 MB / 0.9783 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.7697, allocations: 293.8 kB / 0.9786 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.7698, allocations: 20.47 kB / 0.9786 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7699, allocations: 338.4 kB / 0.9789 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/0.7707, allocations: 354.1 kB / 0.9792 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009134/0.7716, allocations: 0.6016 MB / 0.9798 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008128/0.7724, allocations: 436.5 kB / 0.9802 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.7724, allocations: 4 kB / 0.9802 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002068/0.7745, allocations: 1.099 MB / 0.9813 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.7747, allocations: 246.2 kB / 0.9816 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7747, allocations: 4 kB / 0.9816 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.7748, allocations: 19.95 kB / 0.9816 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.7755, allocations: 211.7 kB / 0.9818 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.7755, allocations: 11.98 kB / 0.9818 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.7763, allocations: 208.4 kB / 0.982 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.7764, allocations: 39.98 kB / 0.982 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.7764, allocations: 4 kB / 0.982 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/0.7777, allocations: 0.8018 MB / 0.9828 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7777, allocations: 8 kB / 0.9828 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.7777, allocations: 8 kB / 0.9828 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.7783, allocations: 163.8 kB / 0.983 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.7783, allocations: 12.5 kB / 0.983 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/0.7789, allocations: 159.1 kB / 0.9832 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.779, allocations: 36 kB / 0.9832 GB, free: 1.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.00058/0.7796, allocations: 346.8 kB / 0.9835 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.7797, allocations: 110.6 kB / 0.9836 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.7799, allocations: 114.9 kB / 0.9837 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.7799, allocations: 8 kB / 0.9837 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.78, allocations: 0 / 0.9837 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.78, allocations: 3.984 kB / 0.9837 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.7812, allocations: 0.9942 MB / 0.9847 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7812, allocations: 0 / 0.9847 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/0.7819, allocations: 167.8 kB / 0.9849 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7819, allocations: 0 / 0.9849 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.782, allocations: 23.98 kB / 0.9849 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.782, allocations: 4 kB / 0.9849 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.782, allocations: 3.938 kB / 0.9849 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.7842, allocations: 1.268 MB / 0.9861 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.7844, allocations: 187.6 kB / 0.9863 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.7845, allocations: 23.98 kB / 0.9863 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.7848, allocations: 75.94 kB / 0.9864 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.7849, allocations: 44.94 kB / 0.9865 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.785, allocations: 24 kB / 0.9865 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007627/0.7858, allocations: 0.5789 MB / 0.987 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7858, allocations: 0 / 0.987 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001031/0.7868, allocations: 406.3 kB / 0.9874 GB, free: 13.12 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.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 (84): * Single equations (assignments): 83 * 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.0026/0.7894, allocations: 1.836 MB / 0.9892 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.7918, allocations: 1.393 MB / 0.9906 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7918, allocations: 0 / 0.9906 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.7925, allocations: 397.8 kB / 0.991 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.7936, allocations: 237.8 kB / 0.9912 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.8037, allocations: 6.406 MB / 0.9975 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/0.8044, allocations: 1.077 MB / 0.9985 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005743/0.805, allocations: 131.8 kB / 0.9986 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/0.8056, allocations: 459.3 kB / 0.9991 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of SimCode: time 1.613e-06/0.8057, allocations: 0 / 0.9991 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.8462, allocations: 20.46 MB / 1.019 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.8465, allocations: 204.5 kB / 1.019 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.079, allocations: 0 / 1.019 GB, free: 12.44 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat does not exist to compare? outputFormat=mat