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.001154/0.001154, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001595/0.001596, allocations: 168.7 kB / 15.95 MB, free: 204 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.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.548/2.548, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8492, allocations: 146.8 MB / 0.9811 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0008947/0.8501, allocations: 361.2 kB / 0.9815 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003546/0.8505, allocations: 107.8 kB / 0.9816 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.8506, allocations: 0 / 0.9816 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.65e-05/0.8507, allocations: 3.984 kB / 0.9816 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.851, allocations: 23.92 kB / 0.9816 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.704e-05/0.8511, allocations: 8 kB / 0.9816 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.8511, allocations: 23.92 kB / 0.9817 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.8513, allocations: 19.98 kB / 0.9817 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.8514, allocations: 55.88 kB / 0.9817 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.8515, allocations: 7.938 kB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.8515, allocations: 0 / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.8515, allocations: 4 kB / 0.9817 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.8515, allocations: 11.98 kB / 0.9817 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.8516, allocations: 41.64 kB / 0.9818 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.14e-05/0.8516, allocations: 31.88 kB / 0.9818 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8517, allocations: 4 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8517, allocations: 0 / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.8517, allocations: 0 / 0.9818 GB, free: 5.605 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.0003271/0.852, allocations: 341.4 kB / 0.9821 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8521, allocations: 12.03 kB / 0.9822 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.8521, allocations: 38.55 kB / 0.9822 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.8521, allocations: 7.906 kB / 0.9822 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.8523, allocations: 175 kB / 0.9824 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.8523, allocations: 8 kB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.8524, allocations: 4 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.8525, allocations: 80.14 kB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.8525, allocations: 4 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8525, allocations: 4 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.8526, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.554e-05/0.8526, allocations: 23.92 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.8531, allocations: 0.605 MB / 0.9831 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.8531, allocations: 175.4 kB / 0.9832 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.8532, allocations: 80.14 kB / 0.9833 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.8532, allocations: 91.14 kB / 0.9834 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.8533, allocations: 105.8 kB / 0.9835 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8533, allocations: 0 / 0.9835 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.957e-05/0.8534, allocations: 33.64 kB / 0.9835 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.8534, allocations: 126.7 kB / 0.9837 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.8536, allocations: 155.4 kB / 0.9838 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.8536, allocations: 25.7 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.8537, allocations: 104.1 kB / 0.9839 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.8537, allocations: 0 / 0.9839 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.8537, allocations: 0 / 0.9839 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8538, allocations: 318.8 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/0.8538, allocations: 0 / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.8538, allocations: 11.98 kB / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.8539, allocations: 75.28 kB / 0.9843 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/0.8539, allocations: 75.28 kB / 0.9844 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.709e-05/0.854, allocations: 41.67 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.854, allocations: 83.22 kB / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.854, allocations: 79.28 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.733e-05/0.8541, allocations: 150.6 kB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.282e-05/0.8541, allocations: 83.2 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.965e-05/0.8542, allocations: 150.6 kB / 0.985 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.8543, allocations: 91.22 kB / 0.985 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.8544, allocations: 75.28 kB / 0.9851 GB, free: 1.973 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.000119/0.8545, allocations: 272.3 kB / 0.9854 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.8545, allocations: 108.9 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.8546, allocations: 112.8 kB / 0.9856 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.273e-05/0.8547, allocations: 184.2 kB / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.276e-05/0.8547, allocations: 184.2 kB / 0.9859 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-05/0.8548, allocations: 180.3 kB / 0.9861 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.8551, allocations: 417.2 kB / 0.9865 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/0.8551, allocations: 104.9 kB / 0.9866 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.8552, allocations: 105.3 kB / 0.9867 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-05/0.8553, allocations: 188.2 kB / 0.9869 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/0.8554, allocations: 180.3 kB / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-05/0.8554, allocations: 188.3 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.759e-05/0.8555, allocations: 184.2 kB / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.8556, allocations: 319.6 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.8557, allocations: 190 kB / 0.9879 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.8558, allocations: 176.3 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.8559, allocations: 108.9 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.856, allocations: 176.3 kB / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/0.856, allocations: 108.9 kB / 0.9884 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.817e-05/0.8561, allocations: 132.6 kB / 0.9886 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8561, allocations: 0 / 0.9886 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002475/0.8564, allocations: 4 kB / 0.9886 GB, free: 14.21 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.0003973/0.8568, allocations: 0.8009 MB / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.79e-05/0.8568, allocations: 15.94 kB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8568, allocations: 0 / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.8568, allocations: 0 / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.8572, allocations: 0.5224 MB / 0.9899 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.8581, allocations: 0.7003 MB / 0.9906 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.8584, allocations: 0.6965 MB / 0.9912 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.756e-05/0.8584, allocations: 8 kB / 0.9913 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.8585, allocations: 11.44 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/0.8585, allocations: 4 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.87, allocations: 1.363 MB / 0.9926 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.8702, allocations: 208.6 kB / 0.9928 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.683, allocations: 6.875 kB / 0.9928 GB, free: 9.91 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