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.001088/0.001088, allocations: 99.03 kB / 16.02 MB, free: 76 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.0015/0.0015, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.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.575/2.575, allocations: 390.9 MB / 0.667 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004013, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/0.725, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0007907/0.7258, allocations: 365.9 kB / 0.9561 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.7271, allocations: 1.113 MB / 0.9571 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.7272, allocations: 1.031 kB / 0.9571 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.614e-05/0.7273, allocations: 7.938 kB / 0.9572 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.7274, allocations: 9.969 kB / 0.9572 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.7278, allocations: 109.1 kB / 0.9573 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.728, allocations: 163.9 kB / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.7281, allocations: 20.89 kB / 0.9574 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.308e-05/0.7282, allocations: 60.23 kB / 0.9575 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.7283, allocations: 47.19 kB / 0.9575 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.7284, allocations: 7.75 kB / 0.9576 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.7285, allocations: 22.64 kB / 0.9576 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.7285, allocations: 27.17 kB / 0.9576 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.7286, allocations: 77.52 kB / 0.9577 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.7288, allocations: 146.7 kB / 0.9578 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7288, allocations: 0 / 0.9578 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7288, allocations: 1.062 kB / 0.9578 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.7288, allocations: 4 kB / 0.9578 GB, free: 6.098 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.0004231/0.7293, allocations: 423.3 kB / 0.9582 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.7293, allocations: 9.719 kB / 0.9582 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.7294, allocations: 12.38 kB / 0.9582 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.7296, allocations: 218.7 kB / 0.9585 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.7296, allocations: 9.875 kB / 0.9585 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.7297, allocations: 14.47 kB / 0.9585 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.7298, allocations: 104.9 kB / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.7299, allocations: 192 / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.7299, allocations: 5.094 kB / 0.9586 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7299, allocations: 1.125 kB / 0.9586 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.73, allocations: 43.7 kB / 0.9586 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.7305, allocations: 499.1 kB / 0.9591 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.931e-05/0.7305, allocations: 57.36 kB / 0.9592 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.7306, allocations: 26.67 kB / 0.9592 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.7306, allocations: 5.375 kB / 0.9592 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.7307, allocations: 119.5 kB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.7308, allocations: 0 / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002746/0.731, allocations: 128.6 kB / 0.9594 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7311, allocations: 88.59 kB / 0.9595 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.7312, allocations: 133.8 kB / 0.9596 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.7312, allocations: 29.3 kB / 0.9597 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.7313, allocations: 99.19 kB / 0.9598 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.7313, allocations: 23.42 kB / 0.9598 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.7314, allocations: 22.66 kB / 0.9598 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.7314, allocations: 324.5 kB / 0.9601 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.7316, allocations: 122.3 kB / 0.9602 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.7318, allocations: 164.4 kB / 0.9604 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.732, allocations: 217.2 kB / 0.9606 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7321, allocations: 0 / 0.9606 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005107/0.7326, allocations: 385.5 kB / 0.961 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.7326, allocations: 65.64 kB / 0.961 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7326, allocations: 5.531 kB / 0.961 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7327, allocations: 1.812 kB / 0.961 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-05/0.7327, allocations: 7.281 kB / 0.961 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7327, allocations: 1.281 kB / 0.961 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.7332, allocations: 102.1 kB / 0.9611 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.7332, allocations: 12.89 kB / 0.9611 GB, free: 3.141 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 0.0001083/0.7333, allocations: 131.6 kB / 0.9613 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.7334, allocations: 11.08 kB / 0.9613 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.7334, allocations: 10.44 kB / 0.9613 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7334, allocations: 5.25 kB / 0.9613 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7334, allocations: 1.281 kB / 0.9613 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7334, allocations: 3.938 kB / 0.9613 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.7336, allocations: 189.2 kB / 0.9615 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7336, allocations: 0 / 0.9615 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.7336, allocations: 5.484 kB / 0.9615 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7336, allocations: 1.125 kB / 0.9615 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.7336, allocations: 1.156 kB / 0.9615 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7336, allocations: 1.156 kB / 0.9615 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7336, allocations: 1.406 kB / 0.9615 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.7338, allocations: 140.9 kB / 0.9616 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.7338, allocations: 79.17 kB / 0.9617 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.7338, allocations: 1.938 kB / 0.9617 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.7338, allocations: 0.9688 kB / 0.9617 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.7339, allocations: 14.89 kB / 0.9617 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.7339, allocations: 6.375 kB / 0.9617 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.7339, allocations: 108 kB / 0.9618 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.734, allocations: 0 / 0.9618 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002676/0.7342, allocations: 39.64 kB / 0.9619 GB, free: 2.441 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.0001523/0.7344, allocations: 108.9 kB / 0.962 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.7348, allocations: 320.6 kB / 0.9623 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7348, allocations: 0 / 0.9623 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.541e-05/0.7349, allocations: 46.03 kB / 0.9623 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.7351, allocations: 26.25 kB / 0.9623 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.7355, allocations: 252.7 kB / 0.9626 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.7356, allocations: 0.7001 MB / 0.9633 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.7357, allocations: 15.45 kB / 0.9633 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7357, allocations: 0 / 0.9633 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of Templates: time 0.003386/0.7391, allocations: 1.763 MB / 0.965 GB, free: 260 kB / 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/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