Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",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.001417/0.001418, 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.001812/0.001813, 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 2.621/2.621, 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 10.0.0-master/package.mo): time 4.76/4.76, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005979/0.0005983, allocations: 11.98 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442/1.442, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001578/1.444, allocations: 365.2 kB / 0.9812 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005066/1.445, allocations: 114.1 kB / 0.9813 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/1.445, allocations: 0 / 0.9813 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/1.445, allocations: 8 kB / 0.9813 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004258/1.445, allocations: 19.92 kB / 0.9814 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.134e-05/1.445, allocations: 7.984 kB / 0.9814 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/1.445, allocations: 11.98 kB / 0.9814 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/1.446, allocations: 19.98 kB / 0.9814 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/1.446, allocations: 47.91 kB / 0.9814 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/1.446, allocations: 11.92 kB / 0.9815 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/1.446, allocations: 0 / 0.9815 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/1.446, allocations: 4 kB / 0.9815 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/1.446, allocations: 11.98 kB / 0.9815 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/1.446, allocations: 33.64 kB / 0.9815 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.891e-05/1.446, allocations: 31.92 kB / 0.9815 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/1.446, allocations: 4 kB / 0.9815 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.128e-06/1.446, allocations: 0 / 0.9815 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.446, allocations: 0 / 0.9815 GB, free: 5.648 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004734/1.447, allocations: 349.4 kB / 0.9819 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.168e-05/1.447, allocations: 12.03 kB / 0.9819 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.775e-05/1.447, allocations: 46.48 kB / 0.9819 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/1.447, allocations: 7.906 kB / 0.9819 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/1.447, allocations: 179 kB / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/1.447, allocations: 4 kB / 0.9821 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/1.447, allocations: 4 kB / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/1.447, allocations: 76.2 kB / 0.9822 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.447, allocations: 4 kB / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/1.447, allocations: 8 kB / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.447, allocations: 0 / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/1.447, allocations: 23.92 kB / 0.9822 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/1.448, allocations: 0.6011 MB / 0.9828 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/1.448, allocations: 173.1 kB / 0.983 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/1.448, allocations: 75.28 kB / 0.983 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.549e-05/1.448, allocations: 109.8 kB / 0.9831 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/1.448, allocations: 0 / 0.9831 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.561e-05/1.448, allocations: 33.64 kB / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/1.449, allocations: 130.7 kB / 0.9833 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/1.449, allocations: 155.4 kB / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/1.449, allocations: 29.64 kB / 0.9835 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/1.449, allocations: 96.12 kB / 0.9836 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/1.449, allocations: 0 / 0.9836 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/1.449, allocations: 0 / 0.9836 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.449, allocations: 322.8 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/1.449, allocations: 0 / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/1.449, allocations: 3.984 kB / 0.9839 GB, free: 3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/1.449, allocations: 83.31 kB / 0.984 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.27e-05/1.449, allocations: 75.28 kB / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.664e-05/1.449, allocations: 41.55 kB / 0.9841 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/1.449, allocations: 79.28 kB / 0.9841 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/1.449, allocations: 75.28 kB / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.475e-05/1.449, allocations: 162.5 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.247e-05/1.449, allocations: 75.28 kB / 0.9844 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-05/1.45, allocations: 158.5 kB / 0.9846 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/1.45, allocations: 83.22 kB / 0.9847 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/1.45, allocations: 75.28 kB / 0.9847 GB, free: 2.098 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.0001697/1.45, allocations: 272.3 kB / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/1.45, allocations: 112.8 kB / 0.9851 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.251e-05/1.45, allocations: 116.9 kB / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.431e-05/1.45, allocations: 180.2 kB / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.978e-05/1.45, allocations: 188.2 kB / 0.9856 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-05/1.45, allocations: 176.3 kB / 0.9857 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/1.451, allocations: 429.1 kB / 0.9862 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.833e-05/1.451, allocations: 105 kB / 0.9863 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/1.451, allocations: 101 kB / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.241e-05/1.451, allocations: 184.5 kB / 0.9865 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.451, allocations: 176.3 kB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.96e-05/1.451, allocations: 188.2 kB / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001037/1.451, allocations: 184.3 kB / 0.9871 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/1.451, allocations: 311.7 kB / 0.9874 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/1.452, allocations: 197.9 kB / 0.9875 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.452, allocations: 180.2 kB / 0.9877 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/1.452, allocations: 105 kB / 0.9878 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.452, allocations: 188.2 kB / 0.988 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/1.452, allocations: 101 kB / 0.9881 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001698/1.452, allocations: 128.3 kB / 0.9882 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.61e-07/1.452, allocations: 0 / 0.9882 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004488/1.453, allocations: 4 kB / 0.9882 GB, free: 14.33 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0007549/1.454, allocations: 0.8126 MB / 0.989 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.593e-05/1.454, allocations: 4 kB / 0.989 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.454, allocations: 0 / 0.989 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-06/1.454, allocations: 0 / 0.989 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/1.454, allocations: 0.5185 MB / 0.9895 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/1.456, allocations: 0.6986 MB / 0.9902 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/1.456, allocations: 0.6926 MB / 0.9909 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.213e-05/1.456, allocations: 11.98 kB / 0.9909 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/1.457, allocations: 15.44 kB / 0.9909 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/1.457, allocations: 0 / 0.9909 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/1.482, allocations: 1.346 MB / 0.9922 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/1.482, allocations: 203.5 kB / 0.9924 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/4.243, allocations: 0 / 0.9924 GB, free: 10.05 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat does not exist to compare? outputFormat=mat