Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009784/0.0009785, allocations: 88.77 kB / 16.02 MB, free: 80 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.00138/0.00138, allocations: 180.8 kB / 16.92 MB, free: 6.23 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.868/2.868, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003625, allocations: 10.66 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3283, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0008372/0.3292, allocations: 353.9 kB / 1.06 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3307, allocations: 1.12 MB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.3307, allocations: 3.938 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.3309, allocations: 3.938 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.518e-05/0.3309, allocations: 7.984 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.3314, allocations: 114.7 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3316, allocations: 155.7 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3317, allocations: 23.97 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3318, allocations: 59.89 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.332, allocations: 47.86 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.332, allocations: 8 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.3321, allocations: 23.98 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.3321, allocations: 23.92 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3323, allocations: 89.45 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.3325, allocations: 143.9 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3325, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3325, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3325, allocations: 3.938 kB / 1.061 GB, free: 2.789 MB / 0.8106 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.0005545/0.3331, allocations: 418.8 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3331, allocations: 15.97 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.3332, allocations: 12.84 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3335, allocations: 220.2 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3335, allocations: 8.375 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.3335, allocations: 12.38 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3337, allocations: 111.8 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3338, allocations: 192 / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3338, allocations: 3.938 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3338, allocations: 4 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.3339, allocations: 39.97 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.3344, allocations: 492.8 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/0.3345, allocations: 57.14 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.3346, allocations: 45.69 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.3346, allocations: 0 / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.3348, allocations: 105.1 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3348, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003032/0.3351, allocations: 137.5 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3351, allocations: 89.03 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3353, allocations: 134.1 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3353, allocations: 29.7 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.3354, allocations: 100 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.3354, allocations: 15.84 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.3355, allocations: 25.7 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.3356, allocations: 322.8 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.3358, allocations: 119.9 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.336, allocations: 169.1 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.3363, allocations: 220.8 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3363, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000578/0.3369, allocations: 380.6 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.123e-05/0.337, allocations: 68.48 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.337, allocations: 0 / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.337, allocations: 4 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-05/0.337, allocations: 3.938 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3371, allocations: 4 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.3375, allocations: 92.03 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.3376, allocations: 11.98 kB / 1.065 GB, free: 15.04 MB / 0.8262 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.0001309/0.3377, allocations: 136.1 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.3377, allocations: 11.91 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.3378, allocations: 7.906 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3378, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3378, allocations: 3.984 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3378, allocations: 3.938 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.338, allocations: 193.6 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.338, allocations: 3.938 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.338, allocations: 7.938 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.338, allocations: 4 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.338, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.338, allocations: 4 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.338, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3382, allocations: 137.8 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.3383, allocations: 85.02 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3383, allocations: 4 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/0.3383, allocations: 7.984 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.3384, allocations: 7.938 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3384, allocations: 7.938 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.3384, allocations: 99.25 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3385, allocations: 4 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002523/0.3387, allocations: 31.94 kB / 1.065 GB, free: 14.19 MB / 0.8262 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.0001788/0.3389, allocations: 107.2 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.3393, allocations: 322.6 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3393, allocations: 0 / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.3394, allocations: 47.95 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3397, allocations: 20.67 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.3401, allocations: 254 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3404, allocations: 0.7004 MB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.3404, allocations: 11.44 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3404, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.003703/0.3441, allocations: 1.773 MB / 1.069 GB, free: 10.89 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches