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.001112/0.001112, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001116/0.001116, allocations: 177.3 kB / 15.95 MB, free: 216 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.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.343/2.343, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7574, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004809/0.7623, allocations: 4.664 MB / 0.9582 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003834/0.7662, allocations: 1.656 MB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.7674, allocations: 31.22 kB / 0.9598 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.7678, allocations: 110.7 kB / 0.9599 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.7687, allocations: 245.2 kB / 0.9601 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.7699, allocations: 468.7 kB / 0.9606 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.7713, allocations: 0.9355 MB / 0.9615 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007465/0.7721, allocations: 0.5089 MB / 0.962 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.7725, allocations: 348.6 kB / 0.9623 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.7729, allocations: 408.1 kB / 0.9627 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/0.773, allocations: 38.03 kB / 0.9628 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.7731, allocations: 46 kB / 0.9628 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.7732, allocations: 177.4 kB / 0.963 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.7734, allocations: 218.8 kB / 0.9632 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.7745, allocations: 1.423 MB / 0.9646 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7745, allocations: 4 kB / 0.9646 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7745, allocations: 0 / 0.9646 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.7746, allocations: 0 / 0.9646 GB, free: 15.39 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.002762/0.7773, allocations: 1.513 MB / 0.9661 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.7774, allocations: 9.031 kB / 0.9661 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/0.7776, allocations: 168.4 kB / 0.9662 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.7779, allocations: 164.2 kB / 0.9664 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.7791, allocations: 0.7035 MB / 0.9671 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/0.7792, allocations: 93.66 kB / 0.9672 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.7793, allocations: 122.7 kB / 0.9673 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.7814, allocations: 1.085 MB / 0.9683 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.7814, allocations: 0.75 kB / 0.9683 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.7815, allocations: 51.33 kB / 0.9684 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/0.7815, allocations: 30.61 kB / 0.9684 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.7834, allocations: 0.8484 MB / 0.9692 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/0.7894, allocations: 3.946 MB / 0.9731 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.7918, allocations: 1.048 MB / 0.9741 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.7918, allocations: 18.11 kB / 0.9741 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008265/0.7927, allocations: 434.9 kB / 0.9745 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=84): time 3.757e-06/0.7927, allocations: 0 / 0.9745 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.002468/0.7952, allocations: 1.102 MB / 0.9756 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.7953, allocations: 224.2 kB / 0.9758 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.7966, allocations: 0.852 MB / 0.9767 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.7967, allocations: 47.66 kB / 0.9767 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.7971, allocations: 0.5474 MB / 0.9773 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.7974, allocations: 289.6 kB / 0.9775 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.7974, allocations: 17.12 kB / 0.9775 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7976, allocations: 349 kB / 0.9779 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007486/0.7983, allocations: 354.2 kB / 0.9782 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00088/0.7992, allocations: 0.5926 MB / 0.9788 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008307/0.8001, allocations: 433.6 kB / 0.9792 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.8001, allocations: 5.047 kB / 0.9792 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002097/0.8022, allocations: 1.098 MB / 0.9803 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006892/0.8029, allocations: 1.697 MB / 0.9819 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.8029, allocations: 8 kB / 0.9819 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.8029, allocations: 19.89 kB / 0.982 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.8037, allocations: 207.7 kB / 0.9822 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.8037, allocations: 11.94 kB / 0.9822 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.8046, allocations: 199 kB / 0.9824 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.8047, allocations: 39.98 kB / 0.9824 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.8047, allocations: 4 kB / 0.9824 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/0.8058, allocations: 0.8057 MB / 0.9832 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.8058, allocations: 4 kB / 0.9832 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.8059, allocations: 15.98 kB / 0.9832 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.8064, allocations: 171.7 kB / 0.9834 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.8065, allocations: 8.562 kB / 0.9834 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.8071, allocations: 164.1 kB / 0.9835 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.8072, allocations: 39.94 kB / 0.9836 GB, free: 0.7383 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.0005326/0.8077, allocations: 338.1 kB / 0.9839 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.8079, allocations: 110.6 kB / 0.984 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.8081, allocations: 114.9 kB / 0.9841 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.8081, allocations: 8 kB / 0.9841 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.8081, allocations: 0 / 0.9841 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.8081, allocations: 7.984 kB / 0.9841 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.8092, allocations: 0.9864 MB / 0.9851 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8092, allocations: 0 / 0.9851 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/0.8099, allocations: 167.8 kB / 0.9853 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.8099, allocations: 7.984 kB / 0.9853 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.81, allocations: 16 kB / 0.9853 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.81, allocations: 4 kB / 0.9853 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.81, allocations: 0 / 0.9853 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.8121, allocations: 1.265 MB / 0.9865 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.8124, allocations: 191.6 kB / 0.9867 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.8125, allocations: 23.98 kB / 0.9867 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.8129, allocations: 67.95 kB / 0.9868 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.813, allocations: 48.94 kB / 0.9868 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.813, allocations: 23.98 kB / 0.9869 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007234/0.8137, allocations: 0.5789 MB / 0.9874 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8137, allocations: 0 / 0.9874 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009848/0.8147, allocations: 402.3 kB / 0.9878 GB, free: 12.29 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.002446/0.8172, allocations: 1.844 MB / 0.9896 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.8196, allocations: 1.397 MB / 0.991 GB, free: 9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8196, allocations: 3.938 kB / 0.991 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000667/0.8203, allocations: 397.9 kB / 0.9914 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.8212, allocations: 225.4 kB / 0.9916 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/0.8262, allocations: 6.117 MB / 0.9975 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.8268, allocations: 1.101 MB / 0.9986 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005104/0.8274, allocations: 127.9 kB / 0.9987 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.8279, allocations: 459.3 kB / 0.9992 GB, free: 268 kB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.8279, allocations: 4 kB / 0.9992 GB, free: 264 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04137/0.8693, allocations: 19.9 MB / 1.019 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.8695, allocations: 207.4 kB / 1.019 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/3.017, allocations: 0 / 1.019 GB, free: 12.42 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