Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_9_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.007796/0.007796, allocations: 105.9 kB / 15.74 MB, free: 5.996 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.001525/0.001525, allocations: 197 kB / 16.67 MB, free: 5.918 MB / 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: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8372/0.8386, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001669/0.8403, allocations: 0.5976 MB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.8407, allocations: 98.42 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.8407, allocations: 1.406 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.8408, allocations: 8.672 kB / 1.088 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.8412, allocations: 30.78 kB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.966e-05/0.8413, allocations: 9.297 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.8414, allocations: 25.41 kB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.8415, allocations: 23.11 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.8417, allocations: 59.03 kB / 1.088 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.8417, allocations: 14.55 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.8418, allocations: 6.344 kB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.8418, allocations: 2.656 kB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.8418, allocations: 17.42 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.8419, allocations: 24.95 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.842, allocations: 39.95 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.842, allocations: 4 kB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.842, allocations: 0 / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.842, allocations: 1.125 kB / 1.088 GB, free: 4.738 MB / 0.8575 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.0003548/0.8424, allocations: 350.2 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.8424, allocations: 9.125 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.8425, allocations: 45.06 kB / 1.089 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.8425, allocations: 4.219 kB / 1.089 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.8427, allocations: 189.3 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.8427, allocations: 3.016 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.8428, allocations: 3.5 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.843, allocations: 81.27 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.843, allocations: 0 / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.843, allocations: 1.781 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.843, allocations: 5.094 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.748e-05/0.8431, allocations: 26.2 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.8436, allocations: 0.606 MB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.267e-05/0.8437, allocations: 175.4 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.8437, allocations: 80.14 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.8437, allocations: 76.34 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.8438, allocations: 110.4 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.8438, allocations: 1.094 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.431e-05/0.8438, allocations: 29.69 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.8439, allocations: 139.3 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.8441, allocations: 165.8 kB / 1.09 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.8441, allocations: 25.7 kB / 1.09 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.8442, allocations: 97.42 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.8442, allocations: 1.094 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.8442, allocations: 11.55 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.8443, allocations: 318.9 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-06/0.8443, allocations: 0 / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.8443, allocations: 8.297 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.05e-05/0.8443, allocations: 75.84 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.8443, allocations: 76 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.674e-05/0.8444, allocations: 34.58 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.8444, allocations: 81.97 kB / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.8445, allocations: 75.8 kB / 1.091 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.8446, allocations: 156.1 kB / 1.091 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.763e-05/0.8447, allocations: 84.92 kB / 1.091 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.661e-05/0.8448, allocations: 156.3 kB / 1.092 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.8449, allocations: 85.98 kB / 1.092 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.8449, allocations: 76.41 kB / 1.092 GB, free: 17.32 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.8451, allocations: 270 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.8453, allocations: 109.2 kB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.8454, allocations: 114.9 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/0.8455, allocations: 185.3 kB / 1.092 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-05/0.8456, allocations: 182.4 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.499e-05/0.8457, allocations: 186.2 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.846, allocations: 415.5 kB / 1.093 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.791e-05/0.846, allocations: 107 kB / 1.093 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.8461, allocations: 110.8 kB / 1.093 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.814e-05/0.8462, allocations: 178.7 kB / 1.093 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/0.8463, allocations: 178.1 kB / 1.094 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001702/0.8465, allocations: 193.7 kB / 1.094 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001977/0.8467, allocations: 181 kB / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.8469, allocations: 315.8 kB / 1.094 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.8471, allocations: 187.7 kB / 1.095 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.8472, allocations: 183 kB / 1.095 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.8473, allocations: 104.9 kB / 1.095 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.8474, allocations: 190.7 kB / 1.095 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.8475, allocations: 101.9 kB / 1.095 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001431/0.8476, allocations: 121.2 kB / 1.095 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8476, allocations: 0 / 1.095 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003324/0.848, allocations: 3.594 kB / 1.095 GB, free: 13.66 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005793/0.8486, allocations: 0.819 MB / 1.096 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.223e-05/0.8486, allocations: 2.766 kB / 1.096 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8487, allocations: 3.938 kB / 1.096 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.8487, allocations: 0 / 1.096 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.8491, allocations: 461.8 kB / 1.096 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.8507, allocations: 1.743 MB / 1.098 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.8511, allocations: 0.6857 MB / 1.099 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.8511, allocations: 4.5 kB / 1.099 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.8512, allocations: 13.7 kB / 1.099 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8512, allocations: 0 / 1.099 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.8705, allocations: 1.552 MB / 1.1 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.498, allocations: 3.203 kB / 1.1 GB, free: 9.652 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches