Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.002703/0.002703, allocations: 116.2 kB / 16.81 MB, free: 5.77 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.002838/0.002838, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.595/1.595, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.62 kB / 1.097 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4322, allocations: 168.7 MB / 1.262 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002069/0.4343, allocations: 0.6178 MB / 1.263 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.4359, allocations: 1.128 MB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.436, allocations: 0 / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.4361, allocations: 7.984 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.626e-05/0.4362, allocations: 3.938 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.4366, allocations: 119.3 kB / 1.264 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.4369, allocations: 191.7 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.437, allocations: 12 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4371, allocations: 83.88 kB / 1.264 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.4373, allocations: 67.83 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.4373, allocations: 19.94 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.4374, allocations: 31.98 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.4375, allocations: 19.98 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.4376, allocations: 71.75 kB / 1.264 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.4379, allocations: 203.4 kB / 1.265 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4379, allocations: 4 kB / 1.265 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4379, allocations: 4 kB / 1.265 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4379, allocations: 0 / 1.265 GB, free: 10.53 MB / 0.9825 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.0007032/0.4386, allocations: 458.5 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4387, allocations: 8.031 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.4387, allocations: 12.89 kB / 1.265 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.439, allocations: 216.3 kB / 1.265 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4391, allocations: 4.375 kB / 1.265 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.4391, allocations: 20.31 kB / 1.265 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.4393, allocations: 99.86 kB / 1.265 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4393, allocations: 192 / 1.265 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.4393, allocations: 11.92 kB / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4393, allocations: 7.938 kB / 1.265 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.4394, allocations: 35.97 kB / 1.265 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.44, allocations: 496.8 kB / 1.266 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.4401, allocations: 57.14 kB / 1.266 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.4401, allocations: 26.84 kB / 1.266 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.4402, allocations: 0 / 1.266 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.4403, allocations: 125 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.4403, allocations: 0 / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003008/0.4406, allocations: 129.5 kB / 1.266 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4407, allocations: 81.11 kB / 1.266 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.4408, allocations: 133.8 kB / 1.266 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.4409, allocations: 37.7 kB / 1.266 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.441, allocations: 104 kB / 1.267 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.441, allocations: 15.94 kB / 1.267 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.4411, allocations: 57.69 kB / 1.267 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4413, allocations: 314.8 kB / 1.267 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.4415, allocations: 127.9 kB / 1.267 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.4417, allocations: 161 kB / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.442, allocations: 220.4 kB / 1.267 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.442, allocations: 3.938 kB / 1.267 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000605/0.4426, allocations: 380.7 kB / 1.268 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.4427, allocations: 71.39 kB / 1.268 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4427, allocations: 0 / 1.268 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4427, allocations: 8.188 kB / 1.268 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.331e-05/0.4427, allocations: 0 / 1.268 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.4427, allocations: 4 kB / 1.268 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.4431, allocations: 71.73 kB / 1.268 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.4432, allocations: 19.92 kB / 1.268 GB, free: 6.734 MB / 0.9825 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.0001374/0.4433, allocations: 129.8 kB / 1.268 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.4433, allocations: 11.94 kB / 1.268 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.4434, allocations: 11.91 kB / 1.268 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.4434, allocations: 384 / 1.268 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4434, allocations: 0 / 1.268 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.4434, allocations: 89.05 kB / 1.268 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.4435, allocations: 3.938 kB / 1.268 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.4435, allocations: 3.984 kB / 1.268 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.4435, allocations: 8 kB / 1.268 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002358/0.4438, allocations: 264.1 kB / 1.268 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002887/0.444, allocations: 350 kB / 1.269 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.556e-05/0.4441, allocations: 23.98 kB / 1.269 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.336e-05/0.4442, allocations: 103.2 kB / 1.269 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of Backend: time 4.11e-07/0.4442, allocations: 0 / 1.269 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008237/0.445, allocations: 362.8 kB / 1.269 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007251/0.4457, allocations: 0.6401 MB / 1.27 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of Templates: time 0.005785/0.4515, allocations: 2.298 MB / 1.272 GB, free: 2.348 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches