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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00104/0.00104, allocations: 90.75 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.001424/0.001424, 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.558/1.558, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.789/2.789, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 8 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8704/0.8708, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0008398/0.8717, allocations: 332.4 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003982/0.8722, allocations: 119.6 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.8722, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.129e-05/0.8723, allocations: 7.938 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.8727, allocations: 19.97 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.938e-05/0.8727, allocations: 11.94 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.8728, allocations: 23.97 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.8729, allocations: 19.98 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.8731, allocations: 47.91 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.8732, allocations: 7.938 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.8732, allocations: 7.984 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.8732, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.8732, allocations: 15.92 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.8733, allocations: 33.7 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.677e-05/0.8734, allocations: 31.94 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8734, allocations: 0 / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8734, allocations: 0 / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.8734, allocations: 4 kB / 1.023 GB, free: 15.38 MB / 0.7794 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.0003906/0.8738, allocations: 353.1 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.8739, allocations: 8.562 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.8739, allocations: 7.906 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.8741, allocations: 179 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.8742, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.8742, allocations: 8 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.8744, allocations: 84.2 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8744, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.8744, allocations: 3.938 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.8744, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.8745, allocations: 23.98 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.8751, allocations: 0.605 MB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.907e-05/0.8752, allocations: 169.1 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.8753, allocations: 88.06 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.8753, allocations: 75.28 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.8754, allocations: 109.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8754, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.57e-05/0.8755, allocations: 33.64 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.8755, allocations: 126.7 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.8757, allocations: 155.9 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.8757, allocations: 25.7 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.8758, allocations: 96.12 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.8758, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-07/0.8758, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8759, allocations: 326.8 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-06/0.876, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.876, allocations: 7.922 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.876, allocations: 83.22 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/0.8761, allocations: 75.28 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.037e-05/0.8761, allocations: 37.64 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.8762, allocations: 79.28 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.8762, allocations: 79.22 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.557e-05/0.8763, allocations: 162.6 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-05/0.8763, allocations: 79.27 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.709e-05/0.8764, allocations: 154.5 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.8766, allocations: 79.28 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.8767, allocations: 79.22 kB / 1.026 GB, free: 11.79 MB / 0.7794 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.0001532/0.8768, allocations: 276.3 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.8769, allocations: 108.9 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.877, allocations: 108.9 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.979e-05/0.877, allocations: 188.2 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.691e-05/0.8771, allocations: 180.3 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-05/0.8772, allocations: 180.2 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.8775, allocations: 425.2 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/0.8775, allocations: 101 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.8776, allocations: 105.2 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.512e-05/0.8777, allocations: 180.3 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-05/0.8777, allocations: 192.2 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.351e-05/0.8778, allocations: 184.2 kB / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.492e-05/0.8779, allocations: 176.3 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.8781, allocations: 315.6 kB / 1.029 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.8782, allocations: 193.9 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/0.8783, allocations: 180.3 kB / 1.029 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.8783, allocations: 105 kB / 1.029 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.8784, allocations: 184.2 kB / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.8785, allocations: 105 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.192e-05/0.8786, allocations: 120.7 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8786, allocations: 0 / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002806/0.8789, allocations: 7.938 kB / 1.03 GB, free: 8.027 MB / 0.7794 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.0001764/0.8791, allocations: 178.5 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.537e-05/0.8791, allocations: 3.938 kB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8791, allocations: 0 / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.8791, allocations: 0 / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.8796, allocations: 0.5318 MB / 1.03 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.88, allocations: 206.3 kB / 1.031 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.8803, allocations: 0.6848 MB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.8803, allocations: 8 kB / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.8803, allocations: 7.438 kB / 1.031 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8803, allocations: 0 / 1.031 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of Templates: time 0.002348/0.8827, allocations: 403.3 kB / 1.032 GB, free: 5.953 MB / 0.7794 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