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.001161/0.001161, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 198.3 kB / 16.53 MB, free: 6.664 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.447/2.447, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7778, allocations: 140.4 MB / 0.9496 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001798/0.7796, allocations: 0.6366 MB / 0.9502 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.7808, allocations: 1.11 MB / 0.9513 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.7808, allocations: 5.438 kB / 0.9513 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.7809, allocations: 7.922 kB / 0.9513 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.781, allocations: 9.469 kB / 0.9513 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.7814, allocations: 120.2 kB / 0.9514 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.7816, allocations: 191.6 kB / 0.9516 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.7818, allocations: 18.08 kB / 0.9516 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.7818, allocations: 83.47 kB / 0.9517 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.782, allocations: 63.64 kB / 0.9518 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.782, allocations: 14.75 kB / 0.9518 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.7821, allocations: 29.23 kB / 0.9518 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.7822, allocations: 19.58 kB / 0.9518 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.7823, allocations: 71.3 kB / 0.9519 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.7825, allocations: 195.8 kB / 0.9521 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7825, allocations: 0 / 0.9521 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7825, allocations: 4 kB / 0.9521 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7825, allocations: 1.188 kB / 0.9521 GB, free: 7.551 MB / 0.7169 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.000488/0.783, allocations: 458.9 kB / 0.9525 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.7831, allocations: 10.19 kB / 0.9525 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.7831, allocations: 13.41 kB / 0.9526 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.7834, allocations: 213.2 kB / 0.9528 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.7834, allocations: 8.781 kB / 0.9528 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.7834, allocations: 10.84 kB / 0.9528 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.7836, allocations: 109.6 kB / 0.9529 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7837, allocations: 192 / 0.9529 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.7837, allocations: 4.906 kB / 0.9529 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7837, allocations: 4.875 kB / 0.9529 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.7838, allocations: 46.98 kB / 0.9529 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.7842, allocations: 496.9 kB / 0.9534 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.7843, allocations: 51.92 kB / 0.9535 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.7844, allocations: 27.55 kB / 0.9535 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.7844, allocations: 1.25 kB / 0.9535 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.7845, allocations: 120.5 kB / 0.9536 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.7845, allocations: 0 / 0.9536 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002743/0.7848, allocations: 132 kB / 0.9537 GB, free: 6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.7849, allocations: 82.81 kB / 0.9538 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.227e-05/0.785, allocations: 135.8 kB / 0.9539 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.785, allocations: 28.95 kB / 0.954 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.785, allocations: 99.11 kB / 0.9541 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.7851, allocations: 20.14 kB / 0.9541 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.7852, allocations: 52.56 kB / 0.9541 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.7852, allocations: 321.1 kB / 0.9544 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.7854, allocations: 122.9 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.7856, allocations: 159.3 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.7859, allocations: 233.7 kB / 0.9549 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7859, allocations: 1.531 kB / 0.9549 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000511/0.7864, allocations: 377 kB / 0.9553 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.7865, allocations: 73.14 kB / 0.9554 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7865, allocations: 1.25 kB / 0.9554 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7865, allocations: 2.438 kB / 0.9554 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.125e-05/0.7865, allocations: 1.5 kB / 0.9554 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.7865, allocations: 2.438 kB / 0.9554 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.7869, allocations: 69.41 kB / 0.9554 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.787, allocations: 17.83 kB / 0.9554 GB, free: 4.586 MB / 0.7169 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 9.477e-05/0.7871, allocations: 140.3 kB / 0.9556 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.7871, allocations: 6.844 kB / 0.9556 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.7871, allocations: 18.3 kB / 0.9556 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7871, allocations: 1.25 kB / 0.9556 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7872, allocations: 1.031 kB / 0.9556 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7872, allocations: 3.938 kB / 0.9556 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.7873, allocations: 184.9 kB / 0.9558 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7873, allocations: 0 / 0.9558 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.7873, allocations: 5.438 kB / 0.9558 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7873, allocations: 5.344 kB / 0.9558 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.7873, allocations: 1.375 kB / 0.9558 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7873, allocations: 1.219 kB / 0.9558 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7873, allocations: 1.375 kB / 0.9558 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.7875, allocations: 137.6 kB / 0.9559 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.7875, allocations: 82.42 kB / 0.956 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.7875, allocations: 13.33 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.7876, allocations: 1.344 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.7876, allocations: 6.625 kB / 0.956 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7876, allocations: 2.531 kB / 0.956 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.7877, allocations: 110.2 kB / 0.9561 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7877, allocations: 0 / 0.9561 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002627/0.7879, allocations: 30.88 kB / 0.9562 GB, free: 3.887 MB / 0.7169 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.0001233/0.7881, allocations: 108.1 kB / 0.9563 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.7885, allocations: 326.1 kB / 0.9566 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7885, allocations: 3.938 kB / 0.9566 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.7886, allocations: 31.86 kB / 0.9566 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.7888, allocations: 20.78 kB / 0.9566 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.7892, allocations: 216.9 kB / 0.9568 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.7893, allocations: 0.7037 MB / 0.9575 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.7893, allocations: 14.03 kB / 0.9575 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.7894, allocations: 14.5 kB / 0.9576 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7894, allocations: 0 / 0.9576 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.004875/0.7942, allocations: 2.246 MB / 0.9598 GB, free: 1.488 MB / 0.7169 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