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.001856/0.001856, allocations: 108 kB / 15.61 MB, free: 148 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.00211/0.00211, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.56/1.56, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.841/2.841, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8309, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001996/0.8329, allocations: 0.6203 MB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.8344, allocations: 1.117 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.8345, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.8346, allocations: 7.922 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.8347, allocations: 15.92 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.8351, allocations: 117 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000256/0.8354, allocations: 203.6 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.8355, allocations: 19.98 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.8356, allocations: 79.88 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.8358, allocations: 55.88 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.8358, allocations: 16 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.395e-05/0.8359, allocations: 27.92 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.836, allocations: 31.91 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.8361, allocations: 63.83 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.8364, allocations: 193.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8364, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8364, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8364, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 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.000649/0.8371, allocations: 456.3 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8371, allocations: 8.031 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.8372, allocations: 16.78 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.8376, allocations: 216.2 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.8376, allocations: 8.375 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.8377, allocations: 8.375 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.8379, allocations: 115.8 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.8379, allocations: 192 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.8379, allocations: 3.938 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8379, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.75e-05/0.838, allocations: 43.95 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.8386, allocations: 0.489 MB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.8388, allocations: 53.14 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.8388, allocations: 25.77 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5e-06/0.8388, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.839, allocations: 121 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.839, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003141/0.8394, allocations: 133.5 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.8394, allocations: 85.09 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.8396, allocations: 133.7 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.8396, allocations: 33.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.8397, allocations: 104 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.8397, allocations: 7.891 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.8399, allocations: 53.69 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.8401, allocations: 322.8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.8403, allocations: 119.9 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.8406, allocations: 165 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.8409, allocations: 232.2 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8409, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006116/0.8415, allocations: 384.7 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/0.8416, allocations: 63.39 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8416, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.8417, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-05/0.8417, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8417, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.8421, allocations: 75.69 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.8422, allocations: 20.11 kB / 1.023 GB, free: 12.17 MB / 0.7794 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.0001584/0.8424, allocations: 134.1 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.8424, allocations: 8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.8424, allocations: 7.891 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.8424, allocations: 7.984 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8424, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.8425, allocations: 3.938 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.8427, allocations: 189.6 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8427, allocations: 0 / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.8427, allocations: 4 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8427, allocations: 0 / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.8427, allocations: 7.938 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8427, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8427, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.8429, allocations: 141.7 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.843, allocations: 85.02 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.843, allocations: 7.984 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.843, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.8431, allocations: 7.938 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.8431, allocations: 8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.8432, allocations: 99.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8432, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000267/0.8435, allocations: 36 kB / 1.024 GB, free: 11.33 MB / 0.7794 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.0001961/0.8437, allocations: 103.2 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005636/0.8442, allocations: 330.6 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8443, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.8443, allocations: 35.92 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.8446, allocations: 20.25 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.845, allocations: 215.7 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.8454, allocations: 0.7041 MB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.8454, allocations: 4 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.8454, allocations: 11.44 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8454, allocations: 4 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of Templates: time 0.005625/0.8511, allocations: 2.259 MB / 1.027 GB, free: 7.59 MB / 0.7794 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=400 -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