Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.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.BooleanVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",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.0009052/0.0009052, allocations: 91.84 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.001087/0.001087, 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.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.512/2.512, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 12 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7546, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0009011/0.7555, allocations: 335.9 kB / 0.9815 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.7559, allocations: 107.7 kB / 0.9816 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.756, allocations: 0 / 0.9816 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.789e-05/0.7561, allocations: 7.938 kB / 0.9816 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.7564, allocations: 19.98 kB / 0.9816 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.042e-05/0.7564, allocations: 7.984 kB / 0.9816 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.7565, allocations: 27.92 kB / 0.9816 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.7566, allocations: 15.98 kB / 0.9817 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.7567, allocations: 51.89 kB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.7568, allocations: 15.92 kB / 0.9817 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.7568, allocations: 4 kB / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-06/0.7568, allocations: 0 / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.7569, allocations: 11.94 kB / 0.9817 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.7569, allocations: 29.7 kB / 0.9818 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.09e-05/0.757, allocations: 31.94 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.757, allocations: 0 / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/0.757, allocations: 0 / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.757, 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.0003628/0.7574, allocations: 353.3 kB / 0.9821 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7574, allocations: 8.031 kB / 0.9821 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.7575, allocations: 42.56 kB / 0.9822 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.7575, allocations: 7.906 kB / 0.9822 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.7577, allocations: 179 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.7577, allocations: 3.984 kB / 0.9824 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.7578, allocations: 4 kB / 0.9824 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.7579, allocations: 84.19 kB / 0.9824 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.758, allocations: 3.938 kB / 0.9824 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.758, allocations: 3.984 kB / 0.9824 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.758, allocations: 8 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.82e-05/0.758, allocations: 23.92 kB / 0.9825 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.7586, allocations: 0.6033 MB / 0.9831 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.748e-05/0.7587, allocations: 173.1 kB / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.7587, allocations: 80.14 kB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.7588, allocations: 75.28 kB / 0.9834 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.269e-05/0.7588, allocations: 109.8 kB / 0.9835 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7588, allocations: 0 / 0.9835 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.414e-05/0.7589, allocations: 29.7 kB / 0.9835 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.759, allocations: 134.7 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.7592, allocations: 159.5 kB / 0.9838 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.7592, allocations: 25.7 kB / 0.9838 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.7592, allocations: 92.14 kB / 0.9839 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.7593, allocations: 0 / 0.9839 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-07/0.7593, allocations: 0 / 0.9839 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.7594, allocations: 322.8 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.7594, allocations: 0 / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.7594, allocations: 4 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.7594, allocations: 83.31 kB / 0.9843 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/0.7595, allocations: 79.22 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.822e-05/0.7595, allocations: 37.64 kB / 0.9844 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.7596, allocations: 83.27 kB / 0.9845 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.7596, allocations: 79.22 kB / 0.9846 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.136e-05/0.7597, allocations: 158.5 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.562e-05/0.7597, allocations: 75.28 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.675e-05/0.7597, allocations: 158.5 kB / 0.9849 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.7599, allocations: 83.28 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.7599, allocations: 75.28 kB / 0.9851 GB, free: 1.965 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.0001122/0.76, allocations: 272.3 kB / 0.9853 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.7601, allocations: 112.8 kB / 0.9855 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.7601, allocations: 116.8 kB / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/0.7602, allocations: 184.2 kB / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-05/0.7603, allocations: 180.3 kB / 0.9859 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/0.7603, allocations: 180.3 kB / 0.9861 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.7606, allocations: 421.1 kB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.7606, allocations: 105 kB / 0.9866 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.7606, allocations: 109.2 kB / 0.9867 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-05/0.7607, allocations: 184.3 kB / 0.9869 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.7608, allocations: 184.3 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.082e-05/0.7608, allocations: 184.1 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-05/0.7609, allocations: 176.3 kB / 0.9874 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.761, allocations: 323.6 kB / 0.9877 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.7611, allocations: 186 kB / 0.9879 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.7612, allocations: 180.2 kB / 0.988 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.7613, allocations: 105 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.7614, allocations: 192.2 kB / 0.9883 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.7614, allocations: 101 kB / 0.9884 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.7615, allocations: 120.3 kB / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7615, allocations: 0 / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002582/0.7618, allocations: 4 kB / 0.9885 GB, free: 14.2 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.0004164/0.7622, allocations: 0.8087 MB / 0.9893 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.656e-05/0.7622, allocations: 8 kB / 0.9893 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7622, allocations: 0 / 0.9893 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.7622, allocations: 0 / 0.9893 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.0003816/0.7626, allocations: 0.5146 MB / 0.9898 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.7635, allocations: 0.7055 MB / 0.9905 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.7637, allocations: 0.6887 MB / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.7637, allocations: 8 kB / 0.9912 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.7638, allocations: 19.42 kB / 0.9912 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.7638, allocations: 0 / 0.9912 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.7743, allocations: 1.372 MB / 0.9926 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.7745, allocations: 207.5 kB / 0.9928 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.549, allocations: 0 / 0.9928 GB, free: 9.914 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat does not exist to compare? outputFormat=mat