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.001489/0.001489, allocations: 109.6 kB / 15.99 MB, free: 6.352 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.001659/0.001659, allocations: 193 kB / 16.91 MB, free: 6.184 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.368/2.368, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.23 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2563, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001899/0.2583, allocations: 0.6891 MB / 0.9505 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2596, allocations: 1.111 MB / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.2597, allocations: 7.938 kB / 0.9515 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2598, allocations: 7.984 kB / 0.9516 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.2599, allocations: 3.938 kB / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.2603, allocations: 119.7 kB / 0.9517 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.2606, allocations: 187.7 kB / 0.9518 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2607, allocations: 23.97 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.2608, allocations: 75.89 kB / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.2609, allocations: 63.8 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.261, allocations: 16 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.223e-05/0.2611, allocations: 31.92 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.2611, allocations: 23.92 kB / 0.9521 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2613, allocations: 71.81 kB / 0.9521 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2614, allocations: 144 kB / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2615, allocations: 0 / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2615, allocations: 0 / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.2615, allocations: 4 kB / 0.9523 GB, free: 6.645 MB / 0.7325 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.000605/0.2621, allocations: 454.7 kB / 0.9527 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2621, allocations: 8.031 kB / 0.9527 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.2622, allocations: 12.84 kB / 0.9527 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2624, allocations: 220.1 kB / 0.9529 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.2625, allocations: 12.38 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.2625, allocations: 12.38 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.2627, allocations: 103.9 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2627, allocations: 4.125 kB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2627, allocations: 3.938 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2627, allocations: 0 / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.2628, allocations: 47.95 kB / 0.9531 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.2634, allocations: 492.8 kB / 0.9536 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.2635, allocations: 53.14 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.2635, allocations: 25.77 kB / 0.9537 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-06/0.2635, allocations: 4 kB / 0.9537 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.2637, allocations: 121 kB / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.2637, allocations: 0 / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0003066/0.264, allocations: 137.8 kB / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.2641, allocations: 85.09 kB / 0.954 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2643, allocations: 137.7 kB / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.2643, allocations: 33.7 kB / 0.9542 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.2644, allocations: 100 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.2645, allocations: 7.844 kB / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2646, allocations: 57.69 kB / 0.9543 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2648, allocations: 322.8 kB / 0.9546 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.2651, allocations: 119.9 kB / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.2655, allocations: 165 kB / 0.9549 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.2659, allocations: 224.3 kB / 0.9551 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2659, allocations: 4 kB / 0.9551 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009845/0.2669, allocations: 380.6 kB / 0.9555 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.267, allocations: 67.39 kB / 0.9555 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.267, allocations: 0 / 0.9555 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2671, allocations: 4 kB / 0.9555 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.388e-05/0.2671, allocations: 4 kB / 0.9556 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2671, allocations: 7.984 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.2677, allocations: 67.95 kB / 0.9556 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.2678, allocations: 15.98 kB / 0.9556 GB, free: 2.855 MB / 0.7325 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.0001916/0.268, allocations: 137.8 kB / 0.9558 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.268, allocations: 0 / 0.9558 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.2681, allocations: 11.89 kB / 0.9558 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2681, allocations: 0 / 0.9558 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/0.2681, allocations: 4 kB / 0.9558 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2681, allocations: 7.938 kB / 0.9558 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2684, allocations: 181.6 kB / 0.956 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2684, allocations: 4 kB / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.2684, allocations: 0 / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.2684, allocations: 0 / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2684, allocations: 4 kB / 0.956 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2684, allocations: 0 / 0.956 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2685, allocations: 7.922 kB / 0.956 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.2687, allocations: 141.7 kB / 0.9561 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.2688, allocations: 85.02 kB / 0.9562 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.2688, allocations: 3.984 kB / 0.9562 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.2689, allocations: 4.062 kB / 0.9562 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.2689, allocations: 11.94 kB / 0.9562 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.269, allocations: 4 kB / 0.9562 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.492e-05/0.2691, allocations: 99.8 kB / 0.9563 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2691, allocations: 0 / 0.9563 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004579/0.2695, allocations: 39.94 kB / 0.9564 GB, free: 2.016 MB / 0.7325 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.0002033/0.2697, allocations: 110.7 kB / 0.9565 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.2702, allocations: 330.6 kB / 0.9568 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2702, allocations: 3.938 kB / 0.9568 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.2703, allocations: 48.03 kB / 0.9568 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2706, allocations: 26.44 kB / 0.9569 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.271, allocations: 241.1 kB / 0.9571 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2713, allocations: 0.7117 MB / 0.9578 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.2714, allocations: 15.44 kB / 0.9578 GB, free: 468 kB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2714, allocations: 0 / 0.9578 GB, free: 468 kB / 0.7325 GB Notification: Performance of Templates: time 0.003462/0.2748, allocations: 1.765 MB / 0.9595 GB, free: 14.7 MB / 0.7481 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/jenkins1/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