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.001013/0.001013, allocations: 86.72 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.001508/0.001508, 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.432/1.432, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.622/2.622, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 15.94 kB / 0.8378 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8779/0.8783, allocations: 146.8 MB / 0.9812 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0007654/0.8791, allocations: 323.9 kB / 0.9815 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00035/0.8794, allocations: 103.7 kB / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.8795, allocations: 0 / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.8796, allocations: 4 kB / 0.9816 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.8799, allocations: 27.89 kB / 0.9816 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.557e-05/0.88, allocations: 8 kB / 0.9816 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.8801, allocations: 23.92 kB / 0.9816 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.8802, allocations: 19.98 kB / 0.9816 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.8803, allocations: 47.91 kB / 0.9817 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.8804, allocations: 15.91 kB / 0.9817 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.8804, allocations: 4 kB / 0.9817 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.8804, allocations: 0 / 0.9817 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.8804, allocations: 15.98 kB / 0.9817 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.8805, allocations: 33.64 kB / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.27e-05/0.8805, allocations: 35.94 kB / 0.9818 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8806, allocations: 0 / 0.9818 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8806, allocations: 0 / 0.9818 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8806, allocations: 0 / 0.9818 GB, free: 5.535 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.0003139/0.8809, allocations: 345.4 kB / 0.9821 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.881, allocations: 12.03 kB / 0.9821 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.881, allocations: 30.56 kB / 0.9822 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.881, allocations: 11.91 kB / 0.9822 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.8812, allocations: 175.1 kB / 0.9823 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.8812, allocations: 7.984 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.8813, allocations: 4 kB / 0.9824 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.8814, allocations: 84.14 kB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8814, allocations: 0 / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.8814, allocations: 0 / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.8815, allocations: 0 / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.746e-05/0.8815, allocations: 27.92 kB / 0.9825 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.882, allocations: 0.605 MB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.8821, allocations: 175.4 kB / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.8821, allocations: 80.14 kB / 0.9833 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.8822, allocations: 79.28 kB / 0.9834 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.8822, allocations: 105.8 kB / 0.9835 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8822, allocations: 4 kB / 0.9835 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.833e-05/0.8823, allocations: 29.64 kB / 0.9835 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.8824, allocations: 134.7 kB / 0.9836 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.8825, allocations: 156.8 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.8825, allocations: 33.64 kB / 0.9838 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.8826, allocations: 96.12 kB / 0.9839 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.8826, allocations: 0 / 0.9839 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.8826, allocations: 0 / 0.9839 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.8827, allocations: 322.8 kB / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-06/0.8827, allocations: 0 / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.8827, allocations: 4 kB / 0.9842 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.8828, allocations: 75.28 kB / 0.9843 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/0.8828, allocations: 79.31 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.997e-05/0.8829, allocations: 45.62 kB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.8829, allocations: 83.22 kB / 0.9845 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.883, allocations: 79.28 kB / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-05/0.883, allocations: 150.6 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.98e-05/0.883, allocations: 79.22 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.222e-05/0.8831, allocations: 150.6 kB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.8832, allocations: 87.22 kB / 0.985 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.8833, allocations: 79.27 kB / 0.9851 GB, free: 1.906 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.0001181/0.8834, allocations: 272.4 kB / 0.9853 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.8834, allocations: 112.9 kB / 0.9854 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.8835, allocations: 112.8 kB / 0.9856 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-05/0.8836, allocations: 184.3 kB / 0.9857 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.541e-05/0.8836, allocations: 184.2 kB / 0.9859 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-05/0.8837, allocations: 180.2 kB / 0.9861 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.8839, allocations: 417.2 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/0.884, allocations: 112.9 kB / 0.9866 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.884, allocations: 101.3 kB / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.295e-05/0.8841, allocations: 188.2 kB / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.8842, allocations: 176.3 kB / 0.987 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-05/0.8843, allocations: 192.3 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.621e-05/0.8843, allocations: 180.2 kB / 0.9874 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.8845, allocations: 315.6 kB / 0.9877 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.8846, allocations: 190 kB / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.8846, allocations: 180.2 kB / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.8847, allocations: 108.9 kB / 0.9881 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.8848, allocations: 176.3 kB / 0.9883 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.8848, allocations: 108.9 kB / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.068e-05/0.8849, allocations: 124 kB / 0.9885 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8849, allocations: 0 / 0.9885 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002501/0.8852, allocations: 7.984 kB / 0.9885 GB, free: 14.14 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.0003919/0.8856, allocations: 0.8048 MB / 0.9893 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.917e-05/0.8857, allocations: 11.88 kB / 0.9893 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8857, allocations: 0 / 0.9893 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.8857, allocations: 0 / 0.9893 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.8861, allocations: 0.5224 MB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.8873, allocations: 0.7024 MB / 0.9905 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.8876, allocations: 0.6848 MB / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.8876, allocations: 8 kB / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.8877, allocations: 15.42 kB / 0.9912 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.8877, allocations: 4 kB / 0.9912 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.9037, allocations: 1.347 MB / 0.9925 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/0.9041, allocations: 212.6 kB / 0.9927 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.602, allocations: 4 kB / 0.9928 GB, free: 9.867 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