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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00154/0.00154, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001797/0.001798, allocations: 189 kB / 17.3 MB, free: 5.613 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 66.66 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3401, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002326/0.3425, allocations: 0.6356 MB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3442, allocations: 1.115 MB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.3443, allocations: 0 / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.3445, allocations: 3.938 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3446, allocations: 11.94 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.3451, allocations: 127.6 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.3454, allocations: 195.6 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3455, allocations: 19.98 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3457, allocations: 79.88 kB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3459, allocations: 67.84 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.3459, allocations: 16 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.346, allocations: 31.92 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3461, allocations: 27.91 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3462, allocations: 67.83 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.3465, allocations: 203.4 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3465, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3465, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.3465, allocations: 3.938 kB / 0.9537 GB, free: 5.418 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.0006995/0.3473, allocations: 454.7 kB / 0.9541 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3473, allocations: 8.031 kB / 0.9541 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.3474, allocations: 12.84 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.3477, allocations: 220.2 kB / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3477, allocations: 8.375 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.3478, allocations: 16.31 kB / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.348, allocations: 95.92 kB / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.348, allocations: 192 / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.348, allocations: 7.938 kB / 0.9545 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.348, allocations: 4 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.307e-05/0.3481, allocations: 43.89 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.3487, allocations: 484.8 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.3488, allocations: 57.14 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.3489, allocations: 25.77 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3489, allocations: 4 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.3491, allocations: 113 kB / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3491, allocations: 0 / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0003031/0.3494, allocations: 137.8 kB / 0.9553 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3494, allocations: 89.03 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3496, allocations: 137.7 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.3496, allocations: 29.7 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.3497, allocations: 104 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3497, allocations: 11.84 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3498, allocations: 53.69 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.35, allocations: 326.8 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3502, allocations: 123.9 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3504, allocations: 161 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.3507, allocations: 228.3 kB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3507, allocations: 0 / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005412/0.3512, allocations: 380.6 kB / 0.9569 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.3513, allocations: 67.39 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3513, allocations: 0 / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3513, allocations: 4 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.021e-05/0.3513, allocations: 4 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3514, allocations: 3.984 kB / 0.9569 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.3517, allocations: 71.89 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.3518, allocations: 19.98 kB / 0.957 GB, free: 1.637 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.0001272/0.3519, allocations: 138.1 kB / 0.9571 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.3519, allocations: 4 kB / 0.9571 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.352, allocations: 7.906 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.352, allocations: 4 kB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.352, allocations: 4 kB / 0.9572 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.352, allocations: 7.922 kB / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.3521, allocations: 189.6 kB / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3521, allocations: 0 / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-06/0.3522, allocations: 0 / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3522, allocations: 0 / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3522, allocations: 4 kB / 0.9574 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3522, allocations: 3.938 kB / 0.9574 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3522, allocations: 0 / 0.9574 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.3524, allocations: 141.7 kB / 0.9575 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.3524, allocations: 89.02 kB / 0.9576 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3524, allocations: 0 / 0.9576 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.3525, allocations: 0 / 0.9576 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.3525, allocations: 11.92 kB / 0.9576 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3525, allocations: 4.062 kB / 0.9576 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.3526, allocations: 103.2 kB / 0.9577 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3526, allocations: 4 kB / 0.9577 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002521/0.3528, allocations: 35.94 kB / 0.9577 GB, free: 0.7969 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.0001502/0.353, allocations: 107.2 kB / 0.9578 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.3534, allocations: 326.6 kB / 0.9581 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3534, allocations: 0 / 0.9581 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.3535, allocations: 39.91 kB / 0.9582 GB, free: 308 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3537, allocations: 16.55 kB / 0.9582 GB, free: 292 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.3541, allocations: 207.4 kB / 0.9584 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3544, allocations: 0.7078 MB / 0.9591 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.3545, allocations: 8 kB / 0.9591 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.3545, allocations: 15.38 kB / 0.9591 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.3545, allocations: 7.938 kB / 0.9591 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of Templates: time 0.004705/0.3592, allocations: 2.244 MB / 0.9613 GB, free: 13.07 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 -s cvode -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