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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 113.7 kB / 16.37 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.001028/0.001028, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 68.52 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3426, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002267/0.3449, allocations: 0.5921 MB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004412/0.3454, allocations: 118.2 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.3455, allocations: 7.875 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3456, allocations: 4 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.346, allocations: 23.92 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.493e-05/0.3461, allocations: 7.984 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.3462, allocations: 23.92 kB / 1.028 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3464, allocations: 27.97 kB / 1.028 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.3465, allocations: 51.91 kB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.3466, allocations: 19.92 kB / 1.028 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3466, allocations: 0 / 1.028 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.3466, allocations: 4 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.3467, allocations: 15.92 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.3467, allocations: 15.88 kB / 1.028 GB, free: 1.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3469, allocations: 59.73 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3469, allocations: 0 / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3469, allocations: 0 / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3469, allocations: 0 / 1.028 GB, free: 1.102 MB / 0.795 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.0003965/0.3473, allocations: 352.6 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3473, allocations: 8.031 kB / 1.028 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.3474, allocations: 8.844 kB / 1.028 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.3476, allocations: 184.3 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3476, allocations: 384 / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3476, allocations: 4.375 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3478, allocations: 84.75 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3478, allocations: 192 / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3478, allocations: 7.938 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3478, allocations: 0 / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.3479, allocations: 19.98 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.3485, allocations: 0.6127 MB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.907e-05/0.3486, allocations: 173.1 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.3486, allocations: 80.14 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.3486, allocations: 75.28 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.3487, allocations: 105.8 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.3487, allocations: 0 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.934e-05/0.3488, allocations: 37.69 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.3489, allocations: 134.6 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.349, allocations: 156.5 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3491, allocations: 25.7 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.3491, allocations: 100.1 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.3491, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.3492, allocations: 13.72 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3493, allocations: 318.8 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-06/0.3493, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.3493, allocations: 11.98 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.3494, allocations: 75.28 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-05/0.3494, allocations: 75.28 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.525e-05/0.3495, allocations: 37.61 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.3495, allocations: 79.28 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.3496, allocations: 79.22 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.061e-05/0.3496, allocations: 154.6 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.853e-05/0.3497, allocations: 83.22 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.088e-05/0.3497, allocations: 158.5 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3499, allocations: 87.23 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.35, allocations: 83.22 kB / 1.031 GB, free: 13.48 MB / 0.8106 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.0001412/0.3501, allocations: 272.4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.3502, allocations: 108.9 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.3503, allocations: 112.8 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.536e-05/0.3503, allocations: 176.3 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.699e-05/0.3504, allocations: 184.2 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.911e-05/0.3505, allocations: 188.1 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.3507, allocations: 417.5 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.3508, allocations: 108.9 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.3508, allocations: 105 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.113e-05/0.3509, allocations: 176.3 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.351, allocations: 188.1 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.038e-05/0.3511, allocations: 176.3 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.88e-05/0.3511, allocations: 188.2 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.3513, allocations: 311.7 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3514, allocations: 193.9 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.3515, allocations: 180.3 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.3516, allocations: 112.9 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.3517, allocations: 176.3 kB / 1.034 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.3517, allocations: 108.9 kB / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001047/0.3518, allocations: 129.4 kB / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3518, allocations: 0 / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002508/0.3521, allocations: 0 / 1.034 GB, free: 9.723 MB / 0.8106 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.0001681/0.3523, allocations: 181.1 kB / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.946e-05/0.3523, allocations: 0 / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3523, allocations: 0 / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.3523, allocations: 0 / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.3527, allocations: 467.6 kB / 1.035 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.353, allocations: 200.3 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3534, allocations: 0.6962 MB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.3534, allocations: 4 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.3534, allocations: 7.438 kB / 1.036 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3534, allocations: 0 / 1.036 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of Templates: time 0.002632/0.356, allocations: 413.8 kB / 1.036 GB, free: 7.715 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches