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.00893/0.00893, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.00196/0.00196, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.469/1.469, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.572/2.572, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5885/0.5899, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00175/0.5916, allocations: 0.6904 MB / 0.9503 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.5929, allocations: 1.122 MB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.593, allocations: 1.312 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.5931, allocations: 3.938 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.375e-05/0.5932, allocations: 4.969 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.5936, allocations: 121.2 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.5938, allocations: 168.3 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.594, allocations: 18.27 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.5941, allocations: 61.05 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.5942, allocations: 46.33 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.5942, allocations: 13.78 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.483e-05/0.5943, allocations: 23.05 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.5944, allocations: 30 kB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.5945, allocations: 57.58 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.5946, allocations: 141.8 kB / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.5946, allocations: 5.234 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5947, allocations: 0 / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.5947, allocations: 0 / 0.952 GB, free: 7.312 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.0005057/0.5952, allocations: 456.7 kB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5952, allocations: 8.562 kB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.5953, allocations: 18.12 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.5955, allocations: 213.1 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.5955, allocations: 10 kB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.5956, allocations: 10.25 kB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.5957, allocations: 101.2 kB / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5958, allocations: 192 / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.5958, allocations: 9.391 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.5958, allocations: 1.188 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.5959, allocations: 42.44 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.5963, allocations: 496 kB / 0.9533 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.5964, allocations: 56.27 kB / 0.9534 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.5965, allocations: 27.58 kB / 0.9534 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.5965, allocations: 5.141 kB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.5966, allocations: 108.6 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.5966, allocations: 0 / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.00028/0.5969, allocations: 140.3 kB / 0.9537 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5969, allocations: 84.17 kB / 0.9537 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.597, allocations: 137.9 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.5971, allocations: 29.61 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.5971, allocations: 107.6 kB / 0.954 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.5972, allocations: 7.062 kB / 0.954 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.5973, allocations: 55.53 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.5973, allocations: 325.9 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.5975, allocations: 122.4 kB / 0.9545 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.5977, allocations: 159.2 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.5979, allocations: 221.9 kB / 0.9548 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.598, allocations: 0 / 0.9548 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005245/0.5985, allocations: 386.1 kB / 0.9552 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.5985, allocations: 60.31 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5985, allocations: 6.219 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5986, allocations: 1.062 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.126e-05/0.5986, allocations: 7.609 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5986, allocations: 5.688 kB / 0.9553 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.599, allocations: 76.81 kB / 0.9554 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.599, allocations: 9.375 kB / 0.9554 GB, free: 4.352 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 9.696e-05/0.5991, allocations: 130.5 kB / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.5992, allocations: 14.77 kB / 0.9555 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.5992, allocations: 14.75 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5992, allocations: 1.469 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5992, allocations: 3.938 kB / 0.9555 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5992, allocations: 5.406 kB / 0.9555 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.5993, allocations: 188.5 kB / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5993, allocations: 0 / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-06/0.5994, allocations: 1.438 kB / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5994, allocations: 1.5 kB / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.5994, allocations: 5.391 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5994, allocations: 0 / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5994, allocations: 1.438 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.5995, allocations: 137.5 kB / 0.9559 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.5996, allocations: 87.84 kB / 0.9559 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.5996, allocations: 1.25 kB / 0.9559 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.31e-05/0.5996, allocations: 1.188 kB / 0.9559 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.5996, allocations: 14.36 kB / 0.956 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5997, allocations: 6.672 kB / 0.956 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.5997, allocations: 108.8 kB / 0.9561 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5997, allocations: 0 / 0.9561 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002509/0.6, allocations: 31.72 kB / 0.9561 GB, free: 3.648 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.0001338/0.6001, allocations: 109.4 kB / 0.9562 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003819/0.6005, allocations: 320.3 kB / 0.9565 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6005, allocations: 3.938 kB / 0.9565 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.6006, allocations: 45.75 kB / 0.9566 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.6008, allocations: 26.62 kB / 0.9566 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.6012, allocations: 250.7 kB / 0.9568 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.6014, allocations: 0.7024 MB / 0.9575 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.6014, allocations: 11.28 kB / 0.9575 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.6014, allocations: 0 / 0.9575 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of Templates: time 0.00329/0.6047, allocations: 1.767 MB / 0.9592 GB, free: 1.457 MB / 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