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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 106.9 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] 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: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.5 MB / 0.731 GB, free: 12.7 MB / 0.5919 GB [Timeout remaining time 87] 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=500,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=500,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") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 1.06 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8241, allocations: 160.7 MB / 1.217 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001795/0.8259, allocations: 0.633 MB / 1.217 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.8273, allocations: 1.128 MB / 1.218 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.8274, allocations: 0 / 1.218 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.8275, allocations: 7.922 kB / 1.218 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.8276, allocations: 11.94 kB / 1.218 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.828, allocations: 123.5 kB / 1.218 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.8283, allocations: 183.7 kB / 1.219 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.8284, allocations: 19.66 kB / 1.219 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.8285, allocations: 75.88 kB / 1.219 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.8286, allocations: 83.7 kB / 1.219 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.8287, allocations: 16 kB / 1.219 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-05/0.8288, allocations: 23.98 kB / 1.219 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.8288, allocations: 23.92 kB / 1.219 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.8289, allocations: 71.81 kB / 1.219 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.8292, allocations: 187.2 kB / 1.219 GB, free: 2.309 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8292, allocations: 8 kB / 1.219 GB, free: 2.301 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8292, allocations: 0 / 1.219 GB, free: 2.301 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8292, allocations: 0 / 1.219 GB, free: 2.301 MB / 0.92 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.0005833/0.8298, allocations: 457.5 kB / 1.219 GB, free: 1.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.8298, allocations: 8.625 kB / 1.22 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.8299, allocations: 16.88 kB / 1.22 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.8302, allocations: 224.2 kB / 1.22 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.8302, allocations: 8.375 kB / 1.22 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.8302, allocations: 12.38 kB / 1.22 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.8304, allocations: 103.9 kB / 1.22 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.8304, allocations: 192 / 1.22 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.8304, allocations: 3.938 kB / 1.22 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8304, allocations: 0 / 1.22 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.8305, allocations: 43.91 kB / 1.22 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.8311, allocations: 0.4929 MB / 1.22 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.8312, allocations: 57.19 kB / 1.22 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.8312, allocations: 25.77 kB / 1.22 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.8312, allocations: 0 / 1.22 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.8314, allocations: 117 kB / 1.221 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.8314, allocations: 0 / 1.221 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002932/0.8317, allocations: 133.5 kB / 1.221 GB, free: 420 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.8317, allocations: 77.11 kB / 1.221 GB, free: 324 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.8319, allocations: 137.8 kB / 1.221 GB, free: 176 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.8319, allocations: 33.7 kB / 1.221 GB, free: 136 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.832, allocations: 100 kB / 1.221 GB, free: 32 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.832, allocations: 15.94 kB / 1.221 GB, free: 16 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.8321, allocations: 57.69 kB / 1.221 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8323, allocations: 318.8 kB / 1.221 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.8326, allocations: 127.8 kB / 1.222 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.8328, allocations: 165 kB / 1.222 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.8331, allocations: 220.8 kB / 1.222 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8331, allocations: 0 / 1.222 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006245/0.8337, allocations: 388.7 kB / 1.222 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.448e-05/0.8338, allocations: 67.39 kB / 1.222 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.8338, allocations: 192 / 1.222 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.8338, allocations: 8 kB / 1.222 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.921e-05/0.8338, allocations: 0 / 1.222 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.8338, allocations: 7.938 kB / 1.222 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.8342, allocations: 67.84 kB / 1.222 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.8342, allocations: 8 kB / 1.222 GB, free: 14.52 MB / 0.9356 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.0001412/0.8344, allocations: 145.8 kB / 1.223 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.8344, allocations: 7.953 kB / 1.223 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.8344, allocations: 7.906 kB / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.8344, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8344, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.8345, allocations: 7.938 kB / 1.223 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.8346, allocations: 185.6 kB / 1.223 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8346, allocations: 0 / 1.223 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.8346, allocations: 7.984 kB / 1.223 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8346, allocations: 0 / 1.223 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.8346, allocations: 3.938 kB / 1.223 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.8347, allocations: 8 kB / 1.223 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8347, allocations: 4 kB / 1.223 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.8348, allocations: 141.8 kB / 1.223 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.8349, allocations: 81.06 kB / 1.223 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.8349, allocations: 4 kB / 1.223 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.8349, allocations: 0 / 1.223 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.835, allocations: 19.92 kB / 1.223 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.835, allocations: 0 / 1.223 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.8351, allocations: 99.2 kB / 1.223 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8351, allocations: 4 kB / 1.223 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002558/0.8353, allocations: 32 kB / 1.223 GB, free: 13.66 MB / 0.9356 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.0001729/0.8355, allocations: 108.9 kB / 1.223 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.8359, allocations: 298.8 kB / 1.224 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8359, allocations: 4.125 kB / 1.224 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.836, allocations: 39.97 kB / 1.224 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.8363, allocations: 27.91 kB / 1.224 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.8368, allocations: 236.8 kB / 1.224 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.8371, allocations: 0.708 MB / 1.225 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.8371, allocations: 11.44 kB / 1.225 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.8371, allocations: 0 / 1.225 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of Templates: time 0.003772/0.8409, allocations: 1.775 MB / 1.226 GB, free: 10.39 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] Warning: Resultfile and Reference have different end time points! Reffile[319]=0.000000 File[592]=1.000000 Error: Could not read variable booRep.y[1 in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable booRep.y[1 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable booRep.y[2 in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable booRep.y[2 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable booRep.y[3 in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable booRep.y[3 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! [Timeout remaining time 300] Reference file matches