Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01116/0.01116, allocations: 100.3 kB / 15.73 MB, free: 5.602 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.002141/0.002141, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.589/1.589, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.546/2.546, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 59.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.038, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002236/1.04, allocations: 0.6233 MB / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001729/1.042, allocations: 1.127 MB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/1.042, allocations: 0 / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/1.042, allocations: 7.922 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/1.042, allocations: 7.938 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00053/1.043, allocations: 119.8 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000327/1.043, allocations: 203.6 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/1.043, allocations: 20 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/1.043, allocations: 79.88 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/1.043, allocations: 67.83 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/1.044, allocations: 16 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/1.044, allocations: 31.92 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/1.044, allocations: 27.92 kB / 1.169 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/1.044, allocations: 67.81 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/1.044, allocations: 199.2 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.044, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.874e-06/1.044, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.553e-06/1.044, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006525/1.045, allocations: 459.4 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.045, allocations: 12.92 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/1.045, allocations: 12.89 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/1.045, allocations: 216.2 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.045, allocations: 16.3 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/1.045, allocations: 16.38 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/1.045, allocations: 91.92 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.046, allocations: 192 / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.046, allocations: 7.938 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.046, allocations: 4 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.115e-05/1.046, allocations: 39.91 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007261/1.046, allocations: 0.489 MB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.42e-05/1.046, allocations: 53.19 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/1.047, allocations: 25.77 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/1.047, allocations: 4 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/1.047, allocations: 125 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/1.047, allocations: 3.938 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.000349/1.047, allocations: 125.5 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.047, allocations: 85.11 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/1.047, allocations: 133.8 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/1.047, allocations: 37.69 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/1.048, allocations: 104 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/1.048, allocations: 11.95 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.048, allocations: 53.67 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.048, allocations: 322.8 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/1.048, allocations: 123.9 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/1.048, allocations: 169 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/1.049, allocations: 220.8 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.049, allocations: 4 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006027/1.049, allocations: 380.7 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/1.049, allocations: 67.39 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.049, allocations: 4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.049, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/1.049, allocations: 4 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.049, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/1.05, allocations: 68 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/1.05, allocations: 15.94 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001595/1.05, allocations: 143.9 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/1.05, allocations: 7.953 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/1.05, allocations: 7.906 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/1.05, allocations: 7.938 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.05, allocations: 0 / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.05, allocations: 3.938 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/1.05, allocations: 185.6 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.05, allocations: 4 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/1.05, allocations: 0 / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.05, allocations: 7.938 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/1.05, allocations: 7.984 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.05, allocations: 0 / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.05, allocations: 0 / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/1.051, allocations: 133.8 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/1.051, allocations: 89.05 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/1.051, allocations: 4.062 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/1.051, allocations: 8 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/1.051, allocations: 11.92 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/1.051, allocations: 4 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.934e-05/1.051, allocations: 99.27 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.051, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002522/1.051, allocations: 32 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002204/1.051, allocations: 111.2 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004773/1.052, allocations: 330.5 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.052, allocations: 0 / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/1.052, allocations: 27.98 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/1.052, allocations: 20.72 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/1.053, allocations: 211.5 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/1.053, allocations: 0.704 MB / 1.175 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.172e-05/1.053, allocations: 4.188 kB / 1.175 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/1.053, allocations: 15.42 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.053, allocations: 0 / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.005039/1.058, allocations: 2.266 MB / 1.177 GB, free: 8.879 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches