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.001057/0.001057, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001156/0.001156, allocations: 172.7 kB / 15.95 MB, free: 208 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.414 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.359/2.359, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.00035, allocations: 16 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6979, allocations: 142.3 MB / 0.9539 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.0009771/0.6989, allocations: 0.7461 MB / 0.9546 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.6997, allocations: 0.9496 MB / 0.9555 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.6998, allocations: 2.312 kB / 0.9555 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.6999, allocations: 11.86 kB / 0.9556 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.7, allocations: 19.3 kB / 0.9556 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.7002, allocations: 60.42 kB / 0.9556 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.7004, allocations: 193.7 kB / 0.9558 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.7005, allocations: 47.19 kB / 0.9559 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.7006, allocations: 79.59 kB / 0.9559 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.7007, allocations: 91.55 kB / 0.956 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.7007, allocations: 8.875 kB / 0.956 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.7008, allocations: 8.031 kB / 0.956 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.7008, allocations: 32.98 kB / 0.9561 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.7008, allocations: 50.55 kB / 0.9561 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.701, allocations: 147.3 kB / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.701, allocations: 0 / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.701, allocations: 0 / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.701, allocations: 0 / 0.9563 GB, free: 6.34 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.0008927/0.7019, allocations: 0.5888 MB / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7019, allocations: 8.969 kB / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.702, allocations: 46.52 kB / 0.9569 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.702, allocations: 30.2 kB / 0.9569 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.7022, allocations: 220 kB / 0.9571 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.7022, allocations: 9.562 kB / 0.9571 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.7023, allocations: 12.09 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.703, allocations: 288.5 kB / 0.9574 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.703, allocations: 3.938 kB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.703, allocations: 5.188 kB / 0.9574 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.703, allocations: 8.109 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.704, allocations: 385.3 kB / 0.9578 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.7046, allocations: 499.2 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.7053, allocations: 294.9 kB / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.7059, allocations: 245.5 kB / 0.9588 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.706, allocations: 1.875 kB / 0.9588 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.706, allocations: 32.41 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.706, allocations: 4 kB / 0.9588 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001736/0.7077, allocations: 0.63 MB / 0.9594 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.7078, allocations: 53.69 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.7079, allocations: 176.8 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.7079, allocations: 26.7 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.708, allocations: 128.8 kB / 0.9598 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.708, allocations: 57.44 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.7081, allocations: 8 kB / 0.9599 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.7081, allocations: 331.1 kB / 0.9602 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.7087, allocations: 199 kB / 0.9604 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.7092, allocations: 198.2 kB / 0.9606 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.7097, allocations: 194.8 kB / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7098, allocations: 0 / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001148/0.7109, allocations: 461.6 kB / 0.9612 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.7109, allocations: 5.188 kB / 0.9612 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.711, allocations: 0 / 0.9612 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.711, allocations: 1.281 kB / 0.9612 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.7114, allocations: 108.1 kB / 0.9613 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.7114, allocations: 0 / 0.9613 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.7117, allocations: 83.42 kB / 0.9614 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.7117, allocations: 3.719 kB / 0.9614 GB, free: 3.031 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 8.791e-05/0.7118, allocations: 127.8 kB / 0.9615 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.7118, allocations: 15.53 kB / 0.9615 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.7119, allocations: 25.33 kB / 0.9615 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7119, allocations: 2.406 kB / 0.9616 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.7119, allocations: 4 kB / 0.9616 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.7119, allocations: 1.094 kB / 0.9616 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.7122, allocations: 278.5 kB / 0.9618 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.7122, allocations: 5.234 kB / 0.9618 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.7126, allocations: 98.2 kB / 0.9619 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.7126, allocations: 0 / 0.9619 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.7126, allocations: 9.406 kB / 0.9619 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7126, allocations: 1.062 kB / 0.9619 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7126, allocations: 3.938 kB / 0.9619 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.7143, allocations: 0.7723 MB / 0.9627 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.7144, allocations: 89.77 kB / 0.9628 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.7144, allocations: 4.844 kB / 0.9628 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.7147, allocations: 82.3 kB / 0.9629 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.7148, allocations: 27.61 kB / 0.9629 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.7148, allocations: 3.312 kB / 0.9629 GB, free: 2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001048/0.715, allocations: 135.4 kB / 0.963 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.715, allocations: 0 / 0.963 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002794/0.7152, allocations: 42.19 kB / 0.9631 GB, free: 1.883 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.002074/0.7173, allocations: 1.318 MB / 0.9643 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.7185, allocations: 422.1 kB / 0.9647 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7186, allocations: 0 / 0.9647 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.7192, allocations: 220.6 kB / 0.965 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.7196, allocations: 31.27 kB / 0.965 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.7228, allocations: 1.524 MB / 0.9665 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.7232, allocations: 0.7281 MB / 0.9672 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.7233, allocations: 11.55 kB / 0.9672 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.7235, allocations: 58.92 kB / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.7235, allocations: 0 / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.7389, allocations: 3.758 MB / 0.9709 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.7392, allocations: 205.5 kB / 0.9711 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.477, allocations: 3.938 kB / 0.9711 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