Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007563/0.007563, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001412/0.001412, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.735/2.735, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3425, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001889/0.3445, allocations: 0.5991 MB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004023/0.3449, allocations: 116.1 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.345, allocations: 0 / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.3451, allocations: 15.92 kB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.3455, allocations: 23.92 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.258e-05/0.3456, allocations: 7.984 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.3457, allocations: 27.91 kB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3458, allocations: 23.98 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3459, allocations: 51.91 kB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.346, allocations: 15.92 kB / 1.167 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.346, allocations: 4 kB / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.346, allocations: 4 kB / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.3461, allocations: 19.91 kB / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.3461, allocations: 19.81 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3462, allocations: 59.69 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3462, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3463, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3463, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 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.0003931/0.3467, allocations: 347.3 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3467, allocations: 12.03 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.3468, allocations: 8.891 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3469, allocations: 176.3 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.347, allocations: 4.375 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.347, allocations: 4.375 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3471, allocations: 92.72 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3472, allocations: 192 / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3472, allocations: 7.938 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3472, allocations: 0 / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.3472, allocations: 23.92 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.3478, allocations: 0.609 MB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.3479, allocations: 169.1 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.3479, allocations: 80.14 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.348, allocations: 75.28 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.348, allocations: 109.8 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.3481, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001035/0.3482, allocations: 33.66 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.3482, allocations: 126.7 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3484, allocations: 163.6 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3484, allocations: 29.7 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.3485, allocations: 92.14 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-06/0.3485, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.3485, allocations: 21.7 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3487, allocations: 314.8 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-06/0.3487, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.3487, allocations: 8 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.3488, allocations: 75.28 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-05/0.3488, allocations: 75.28 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.138e-05/0.3489, allocations: 37.69 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.3489, allocations: 87.31 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/0.349, allocations: 79.22 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.713e-05/0.349, allocations: 154.5 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.3491, allocations: 75.28 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.529e-05/0.3492, allocations: 158.5 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3493, allocations: 91.16 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.3493, allocations: 83.2 kB / 1.171 GB, free: 2.18 MB / 0.92 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.0001369/0.3495, allocations: 274.4 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.3496, allocations: 112.9 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.3496, allocations: 116.8 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.949e-05/0.3497, allocations: 176.3 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.936e-05/0.3498, allocations: 176.3 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.369e-05/0.3499, allocations: 200.1 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3501, allocations: 409.5 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/0.3502, allocations: 108.9 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.3503, allocations: 105 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-05/0.3503, allocations: 184.2 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.3504, allocations: 188.2 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.635e-05/0.3505, allocations: 176.3 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.451e-05/0.3506, allocations: 180.2 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3508, allocations: 311.8 kB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3509, allocations: 186 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.351, allocations: 188.2 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.3511, allocations: 104.9 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.3512, allocations: 184.3 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.3512, allocations: 104.9 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.653e-05/0.3514, allocations: 129.1 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3514, allocations: 3.938 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002822/0.3516, allocations: 4 kB / 1.174 GB, free: 14.41 MB / 0.9356 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.0001537/0.3518, allocations: 174.5 kB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.416e-05/0.3519, allocations: 0 / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3519, allocations: 0 / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.3519, allocations: 0 / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.3524, allocations: 463.7 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.3527, allocations: 208.1 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.353, allocations: 0.6846 MB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.353, allocations: 4 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.353, allocations: 15.38 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.353, allocations: 0 / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of Templates: time 0.002657/0.3557, allocations: 411.2 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches