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.001152/0.001152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001899/0.001899, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.606/2.606, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7385/0.7399, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00233/0.7423, allocations: 0.6907 MB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.7438, allocations: 1.109 MB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.7439, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.744, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.729e-05/0.7441, allocations: 3.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.7446, allocations: 111.4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.7448, allocations: 195.7 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.7449, allocations: 16 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.745, allocations: 87.81 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.7452, allocations: 55.86 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.7452, allocations: 16 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.7453, allocations: 27.98 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.7454, allocations: 27.91 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.7455, allocations: 63.83 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.7457, allocations: 197.5 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.7457, allocations: 0 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7458, allocations: 8 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7458, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 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.0005851/0.7464, allocations: 454.6 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.7464, allocations: 8.031 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.7465, allocations: 16.78 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.7467, allocations: 232 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.7468, allocations: 4.375 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.7468, allocations: 12.38 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.747, allocations: 99.92 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.7471, allocations: 192 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.7471, allocations: 11.92 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.7471, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.7472, allocations: 43.91 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.7478, allocations: 496.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.7479, allocations: 49.2 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.748, allocations: 29.75 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.748, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.7481, allocations: 117 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.7482, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.000311/0.7485, allocations: 133.5 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.7485, allocations: 85.11 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7487, allocations: 133.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.7487, allocations: 29.7 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.7488, allocations: 112 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.7488, allocations: 7.906 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.7489, allocations: 53.69 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7491, allocations: 326.8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.7493, allocations: 115.9 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.7495, allocations: 165 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.7497, allocations: 224.8 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7497, allocations: 3.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005492/0.7503, allocations: 384.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.7504, allocations: 67.44 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7504, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7504, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.766e-05/0.7504, allocations: 7.984 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7504, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.7508, allocations: 75.62 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.7509, allocations: 16 kB / 1.023 GB, free: 12.31 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.0001417/0.751, allocations: 136.5 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.7511, allocations: 11.92 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.7511, allocations: 7.906 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7511, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7511, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.7511, allocations: 3.938 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.7513, allocations: 185.6 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7513, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-06/0.7513, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7513, allocations: 4 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.7513, allocations: 7.984 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7513, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7513, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.7515, allocations: 133.7 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.7516, allocations: 89 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.7516, allocations: 4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.7516, allocations: 4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.7517, allocations: 7.938 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.7517, allocations: 7.984 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.561e-05/0.7518, allocations: 99.27 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7518, allocations: 0 / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000265/0.752, allocations: 32 kB / 1.023 GB, free: 11.48 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.0001644/0.7522, allocations: 103.2 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.7527, allocations: 338.5 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7527, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.7527, allocations: 31.98 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.753, allocations: 20.03 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.7534, allocations: 231.7 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.7537, allocations: 0.7002 MB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.7538, allocations: 4.188 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.7538, allocations: 19.42 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7538, allocations: 0 / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of Templates: time 0.004857/0.7586, allocations: 2.25 MB / 1.027 GB, free: 7.734 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=480 -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