Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.007158/0.007158, allocations: 98.7 kB / 15.73 MB, free: 6.055 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.00144/0.00144, allocations: 196 kB / 16.68 MB, free: 5.969 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.478/1.478, 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 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.119, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001973/1.121, allocations: 0.6308 MB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001597/1.123, allocations: 1.118 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/1.123, allocations: 1.031 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/1.123, allocations: 10.06 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.665e-05/1.123, allocations: 6.266 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/1.124, allocations: 120.2 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/1.124, allocations: 195.9 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/1.124, allocations: 16.28 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/1.124, allocations: 86.34 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/1.125, allocations: 67.84 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/1.125, allocations: 14.69 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/1.125, allocations: 36.92 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/1.125, allocations: 21.44 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/1.125, allocations: 70.91 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/1.125, allocations: 193.7 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.125, allocations: 0 / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.846e-06/1.125, allocations: 1.312 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.761e-06/1.125, allocations: 0 / 1.09 GB, free: 3.996 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006253/1.126, allocations: 457.5 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.126, allocations: 10.03 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/1.126, allocations: 16.52 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/1.126, allocations: 218 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/1.126, allocations: 10.55 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/1.126, allocations: 15.61 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/1.127, allocations: 96.88 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.127, allocations: 192 / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/1.127, allocations: 13.92 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/1.127, allocations: 1.688 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/1.127, allocations: 50.89 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/1.127, allocations: 492 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/1.128, allocations: 50.44 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/1.128, allocations: 32.23 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-06/1.128, allocations: 0.6562 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/1.128, allocations: 115.4 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/1.128, allocations: 0 / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003298/1.128, allocations: 138.1 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/1.128, allocations: 79.83 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.128, allocations: 140 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/1.128, allocations: 35.12 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/1.128, allocations: 100.2 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/1.128, allocations: 11.83 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.129, allocations: 53.45 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.183e-05/1.129, allocations: 324 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/1.129, allocations: 128.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/1.129, allocations: 163.7 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/1.129, allocations: 220.5 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.129, allocations: 1 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000647/1.13, allocations: 374.6 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/1.13, allocations: 64.31 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.13, allocations: 1.344 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.13, allocations: 2.25 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-05/1.13, allocations: 3.172 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.13, allocations: 2.156 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/1.131, allocations: 75.44 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.131, allocations: 12.72 kB / 1.094 GB, free: 1.41 MB / 0.8575 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.0001222/1.131, allocations: 143 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/1.131, allocations: 11.3 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/1.131, allocations: 8.141 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.131, allocations: 4.969 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.131, allocations: 1.031 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.131, allocations: 5.156 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/1.131, allocations: 188.7 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.131, allocations: 1 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-06/1.131, allocations: 5.703 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.131, allocations: 1.188 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/1.131, allocations: 2.484 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.131, allocations: 0.7812 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.131, allocations: 1.75 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/1.131, allocations: 151.2 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/1.131, allocations: 80.2 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.131, allocations: 2.328 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.196e-05/1.131, allocations: 1.516 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/1.131, allocations: 13.23 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.131, allocations: 3.672 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.067e-05/1.131, allocations: 101.6 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.132, allocations: 0 / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002782/1.132, allocations: 39.72 kB / 1.095 GB, free: 0.7422 MB / 0.8575 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.000159/1.132, allocations: 109.3 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005085/1.132, allocations: 325 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.132, allocations: 0 / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/1.133, allocations: 34.8 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/1.133, allocations: 28.64 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/1.133, allocations: 201.6 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/1.134, allocations: 0.7057 MB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.097e-05/1.134, allocations: 7.594 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/1.134, allocations: 14.97 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of SimCode: time 1.91e-07/1.134, allocations: 1.125 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.00655/1.14, allocations: 2.251 MB / 1.098 GB, free: 15.39 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches