Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.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.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",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.0008879/0.0008879, allocations: 99.55 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.0008735/0.0008735, allocations: 177.3 kB / 15.94 MB, free: 228 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.461/1.461, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.472/2.472, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7936, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001042/0.7947, allocations: 0.7571 MB / 0.9543 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.796, allocations: 0.9444 MB / 0.9553 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.7961, allocations: 2.219 kB / 0.9553 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.7962, allocations: 11.86 kB / 0.9553 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.7964, allocations: 38.62 kB / 0.9553 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.7966, allocations: 51.09 kB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.7968, allocations: 126.6 kB / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.797, allocations: 59.45 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.7971, allocations: 70.12 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.7972, allocations: 87.69 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.7973, allocations: 13.05 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.192e-05/0.7973, allocations: 7.531 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.7974, allocations: 32.64 kB / 0.9557 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.7974, allocations: 47.67 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.7976, allocations: 142.7 kB / 0.9559 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.7976, allocations: 4 kB / 0.9559 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7976, allocations: 0 / 0.9559 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.7976, allocations: 3.938 kB / 0.9559 GB, free: 6.227 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001065/0.7987, allocations: 0.5828 MB / 0.9565 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.7987, allocations: 9.469 kB / 0.9565 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.7988, allocations: 46.44 kB / 0.9566 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.7988, allocations: 29.62 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.799, allocations: 215.3 kB / 0.9568 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.7991, allocations: 13.81 kB / 0.9568 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.7991, allocations: 12.44 kB / 0.9568 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.7999, allocations: 287.6 kB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.7999, allocations: 0 / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.7999, allocations: 6.281 kB / 0.9571 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7999, allocations: 6.578 kB / 0.9571 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.8011, allocations: 385.8 kB / 0.9575 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.8017, allocations: 498.9 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000777/0.8025, allocations: 300.3 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.8026, allocations: 5.203 kB / 0.9582 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.8026, allocations: 32.91 kB / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.8026, allocations: 0 / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.00189/0.8045, allocations: 0.6348 MB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.8045, allocations: 66.02 kB / 0.9589 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.8047, allocations: 173 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.8047, allocations: 31.02 kB / 0.9591 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.8047, allocations: 127.2 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.8048, allocations: 58.06 kB / 0.9593 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.8048, allocations: 5.375 kB / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.8049, allocations: 334.9 kB / 0.9596 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.8055, allocations: 194.7 kB / 0.9598 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.8061, allocations: 195.7 kB / 0.96 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.8067, allocations: 198.2 kB / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8067, allocations: 0 / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001271/0.808, allocations: 447.3 kB / 0.9606 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.8081, allocations: 4.969 kB / 0.9606 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.8081, allocations: 1.031 kB / 0.9606 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8081, allocations: 5 kB / 0.9606 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.8085, allocations: 107 kB / 0.9607 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8085, allocations: 1 kB / 0.9607 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.8088, allocations: 86.64 kB / 0.9608 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.8089, allocations: 3.75 kB / 0.9608 GB, free: 3.016 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 9.508e-05/0.809, allocations: 124.4 kB / 0.961 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.809, allocations: 19.83 kB / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.8091, allocations: 25.22 kB / 0.961 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.8091, allocations: 6.344 kB / 0.961 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8091, allocations: 0 / 0.961 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8091, allocations: 0 / 0.961 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.8094, allocations: 279.6 kB / 0.9613 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8094, allocations: 0 / 0.9613 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.8098, allocations: 99.22 kB / 0.9614 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.8098, allocations: 0 / 0.9614 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.8099, allocations: 5.188 kB / 0.9614 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.8099, allocations: 1 kB / 0.9614 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8099, allocations: 1.469 kB / 0.9614 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.8119, allocations: 0.7716 MB / 0.9621 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.812, allocations: 97.19 kB / 0.9622 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.812, allocations: 5.469 kB / 0.9622 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.8124, allocations: 77.8 kB / 0.9623 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.8124, allocations: 23.56 kB / 0.9623 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.8125, allocations: 7.312 kB / 0.9623 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001028/0.8126, allocations: 142.9 kB / 0.9625 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8126, allocations: 0 / 0.9625 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002937/0.8129, allocations: 43.06 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002418/0.8153, allocations: 1.32 MB / 0.9638 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.8166, allocations: 420 kB / 0.9642 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8167, allocations: 0 / 0.9642 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.8173, allocations: 222.4 kB / 0.9644 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.8176, allocations: 36.22 kB / 0.9644 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.8211, allocations: 1.501 MB / 0.9659 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.8214, allocations: 0.7417 MB / 0.9666 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.998e-05/0.8215, allocations: 7.906 kB / 0.9666 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.8217, allocations: 58.31 kB / 0.9667 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.8217, allocations: 0 / 0.9667 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.8372, allocations: 3.735 MB / 0.9703 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.8375, allocations: 197.7 kB / 0.9705 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.564, allocations: 4 kB / 0.9705 GB, free: 13.04 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat does not exist to compare? outputFormat=mat