Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",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.001484/0.001484, allocations: 98.45 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.001791/0.001791, 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 2.71/2.71, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.506/4.506, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008129/0.0008131, allocations: 8 kB / 0.8375 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585/1.585, allocations: 146.8 MB / 0.9809 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001349/1.587, allocations: 327.9 kB / 0.9812 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004786/1.587, allocations: 110.2 kB / 0.9813 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/1.588, allocations: 0 / 0.9813 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/1.588, allocations: 19.84 kB / 0.9813 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005059/1.588, allocations: 15.98 kB / 0.9813 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.581e-05/1.588, allocations: 4 kB / 0.9813 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/1.588, allocations: 15.98 kB / 0.9813 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/1.589, allocations: 23.97 kB / 0.9814 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/1.589, allocations: 43.91 kB / 0.9814 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/1.589, allocations: 11.92 kB / 0.9814 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/1.589, allocations: 4 kB / 0.9814 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/1.589, allocations: 0 / 0.9814 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/1.589, allocations: 11.94 kB / 0.9814 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/1.589, allocations: 29.7 kB / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/1.589, allocations: 35.92 kB / 0.9815 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.589, allocations: 0 / 0.9815 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.767e-06/1.589, allocations: 0 / 0.9815 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.589, allocations: 0 / 0.9815 GB, free: 5.598 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.0005154/1.59, allocations: 353.3 kB / 0.9818 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.291e-05/1.59, allocations: 12.03 kB / 0.9818 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/1.59, allocations: 30.56 kB / 0.9819 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/1.59, allocations: 11.91 kB / 0.9819 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/1.59, allocations: 175 kB / 0.9821 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.59, allocations: 7.938 kB / 0.9821 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/1.59, allocations: 4 kB / 0.9821 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/1.591, allocations: 80.2 kB / 0.9821 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.591, allocations: 0 / 0.9821 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/1.591, allocations: 11.92 kB / 0.9822 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/1.591, allocations: 0 / 0.9822 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/1.591, allocations: 23.98 kB / 0.9822 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/1.591, allocations: 0.605 MB / 0.9828 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/1.592, allocations: 169.1 kB / 0.9829 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/1.592, allocations: 75.28 kB / 0.983 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/1.592, allocations: 109.8 kB / 0.9831 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.592, allocations: 0 / 0.9831 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.000115/1.592, allocations: 29.7 kB / 0.9831 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/1.592, allocations: 130.7 kB / 0.9833 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/1.592, allocations: 159.4 kB / 0.9834 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.592, allocations: 25.7 kB / 0.9834 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/1.592, allocations: 92.14 kB / 0.9835 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/1.592, allocations: 0 / 0.9835 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/1.592, allocations: 0 / 0.9835 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.593, allocations: 326.8 kB / 0.9838 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/1.593, allocations: 0 / 0.9838 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/1.593, allocations: 4 kB / 0.9838 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/1.593, allocations: 87.16 kB / 0.9839 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-05/1.593, allocations: 75.28 kB / 0.984 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.507e-05/1.593, allocations: 33.61 kB / 0.984 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/1.593, allocations: 83.27 kB / 0.9841 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/1.593, allocations: 79.28 kB / 0.9842 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/1.593, allocations: 162.5 kB / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/1.593, allocations: 79.31 kB / 0.9844 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.678e-05/1.593, allocations: 154.5 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/1.593, allocations: 79.28 kB / 0.9846 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/1.593, allocations: 75.28 kB / 0.9847 GB, free: 2.055 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.0002147/1.594, allocations: 276.3 kB / 0.985 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/1.594, allocations: 112.9 kB / 0.9851 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.184e-05/1.594, allocations: 116.8 kB / 0.9852 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/1.594, allocations: 180.2 kB / 0.9854 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/1.594, allocations: 180.3 kB / 0.9855 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/1.594, allocations: 180.3 kB / 0.9857 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/1.595, allocations: 425.1 kB / 0.9861 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-05/1.595, allocations: 105 kB / 0.9862 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/1.595, allocations: 112.9 kB / 0.9863 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/1.595, allocations: 180.5 kB / 0.9865 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.595, allocations: 184.1 kB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001038/1.595, allocations: 176.3 kB / 0.9868 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.917e-05/1.595, allocations: 196.3 kB / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/1.596, allocations: 307.7 kB / 0.9873 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.596, allocations: 197.9 kB / 0.9875 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.596, allocations: 176.3 kB / 0.9877 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.596, allocations: 105 kB / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.596, allocations: 188.2 kB / 0.988 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/1.596, allocations: 101 kB / 0.988 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001467/1.596, allocations: 120.3 kB / 0.9882 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/1.596, allocations: 0 / 0.9882 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004742/1.597, allocations: 4 kB / 0.9882 GB, free: 14.29 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.0007415/1.598, allocations: 0.8126 MB / 0.989 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.089e-05/1.598, allocations: 4 kB / 0.989 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.598, allocations: 0 / 0.989 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/1.598, allocations: 0 / 0.989 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/1.598, allocations: 0.5263 MB / 0.9895 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/1.6, allocations: 0.6904 MB / 0.9902 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/1.6, allocations: 0.6965 MB / 0.9908 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.673e-05/1.6, allocations: 8 kB / 0.9908 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/1.6, allocations: 15.44 kB / 0.9909 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/1.6, allocations: 0 / 0.9909 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/1.623, allocations: 1.337 MB / 0.9922 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/1.623, allocations: 201 kB / 0.9924 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/4.598, allocations: 0 / 0.9924 GB, free: 10.03 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat does not exist to compare? outputFormat=mat