Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_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.001356/0.001356, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001601/0.001601, allocations: 177.3 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.564/1.564, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.927/2.927, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 15.98 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.158, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001307/1.159, allocations: 0.7537 MB / 0.9816 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001209/1.16, allocations: 0.9636 MB / 0.9826 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/1.16, allocations: 0 / 0.9826 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/1.161, allocations: 11.86 kB / 0.9826 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/1.161, allocations: 35.88 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/1.161, allocations: 51.94 kB / 0.9827 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/1.161, allocations: 127.7 kB / 0.9828 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/1.161, allocations: 48.28 kB / 0.9828 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/1.161, allocations: 75.73 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/1.162, allocations: 87.59 kB / 0.983 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/1.162, allocations: 8 kB / 0.983 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.082e-05/1.162, allocations: 12 kB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/1.162, allocations: 39.81 kB / 0.983 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/1.162, allocations: 49.58 kB / 0.9831 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/1.162, allocations: 145.9 kB / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.162, allocations: 4 kB / 0.9832 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.226e-06/1.162, allocations: 0 / 0.9832 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.162, allocations: 0 / 0.9832 GB, free: 3.863 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001243/1.163, allocations: 0.5804 MB / 0.9838 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.163, allocations: 12.03 kB / 0.9838 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.475e-05/1.163, allocations: 46.55 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/1.163, allocations: 19.72 kB / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/1.164, allocations: 222.7 kB / 0.9841 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/1.164, allocations: 12 kB / 0.9841 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/1.164, allocations: 12 kB / 0.9841 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/1.165, allocations: 293.3 kB / 0.9844 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.165, allocations: 3.984 kB / 0.9844 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/1.165, allocations: 4 kB / 0.9844 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/1.165, allocations: 11.98 kB / 0.9844 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/1.166, allocations: 375.7 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/1.167, allocations: 0.4962 MB / 0.9853 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/1.168, allocations: 302.4 kB / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/1.168, allocations: 0 / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.168, allocations: 34.56 kB / 0.9856 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/1.168, allocations: 0 / 0.9856 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.002062/1.17, allocations: 0.6353 MB / 0.9862 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.17, allocations: 59.36 kB / 0.9862 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/1.17, allocations: 178.9 kB / 0.9864 GB, free: 404 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/1.17, allocations: 25.7 kB / 0.9864 GB, free: 372 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/1.17, allocations: 128.3 kB / 0.9866 GB, free: 236 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/1.17, allocations: 59.19 kB / 0.9866 GB, free: 176 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/1.17, allocations: 4 kB / 0.9866 GB, free: 172 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.171, allocations: 334.8 kB / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/1.171, allocations: 195.8 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/1.172, allocations: 223.4 kB / 0.9873 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/1.173, allocations: 197.8 kB / 0.9875 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.173, allocations: 0 / 0.9875 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001321/1.174, allocations: 465 kB / 0.988 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.174, allocations: 4 kB / 0.988 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/1.174, allocations: 0 / 0.988 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.174, allocations: 0 / 0.988 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/1.174, allocations: 99.92 kB / 0.9881 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.174, allocations: 11.92 kB / 0.9881 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.175, allocations: 83.86 kB / 0.9882 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/1.175, allocations: 4 kB / 0.9882 GB, free: 14.56 MB / 0.7481 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 0.0001835/1.175, allocations: 133.8 kB / 0.9883 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/1.175, allocations: 19.72 kB / 0.9883 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/1.175, allocations: 21.88 kB / 0.9883 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.175, allocations: 0 / 0.9883 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.175, allocations: 3.984 kB / 0.9883 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/1.175, allocations: 3.953 kB / 0.9883 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/1.176, allocations: 273.5 kB / 0.9886 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.176, allocations: 0 / 0.9886 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/1.176, allocations: 99.91 kB / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.176, allocations: 0 / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.176, allocations: 11.94 kB / 0.9887 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.176, allocations: 0 / 0.9887 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.176, allocations: 0 / 0.9887 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/1.178, allocations: 0.7703 MB / 0.9895 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/1.179, allocations: 96.8 kB / 0.9896 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/1.179, allocations: 4 kB / 0.9896 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/1.179, allocations: 79.98 kB / 0.9896 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.179, allocations: 23.97 kB / 0.9897 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/1.179, allocations: 4 kB / 0.9897 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001524/1.179, allocations: 127.2 kB / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.179, allocations: 0 / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003163/1.18, allocations: 39.94 kB / 0.9898 GB, free: 12.78 MB / 0.7481 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.002661/1.182, allocations: 1.319 MB / 0.9911 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.184, allocations: 423.6 kB / 0.9915 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.184, allocations: 0 / 0.9915 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/1.184, allocations: 221.6 kB / 0.9917 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/1.185, allocations: 36.11 kB / 0.9918 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/1.188, allocations: 1.502 MB / 0.9932 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/1.189, allocations: 0.7398 MB / 0.994 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001259/1.189, allocations: 9.078 kB / 0.994 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/1.189, allocations: 55.48 kB / 0.994 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of SimCode: time 1.222e-06/1.189, allocations: 7.938 kB / 0.994 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/1.211, allocations: 3.795 MB / 0.9977 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003819/1.211, allocations: 206.1 kB / 0.9979 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.861, allocations: 0 / 0.9979 GB, free: 4.535 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat does not exist to compare? outputFormat=mat