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.0008423/0.0008422, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007172/0.007173, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 462.6 MB / 0.7363 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004218, allocations: 16.41 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3791, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00104/0.3802, allocations: 369.8 kB / 1.059 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3821, allocations: 1.112 MB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.3822, allocations: 7.938 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.3823, allocations: 8 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.3825, allocations: 7.922 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.383, allocations: 110.8 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.3833, allocations: 163.6 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.3834, allocations: 16 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.3836, allocations: 59.89 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3838, allocations: 47.86 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.3838, allocations: 8 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3839, allocations: 27.92 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.384, allocations: 23.91 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.3842, allocations: 77.53 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.3845, allocations: 191.7 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3846, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3846, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3846, allocations: 4 kB / 1.061 GB, free: 2.777 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.0007567/0.3853, allocations: 430.7 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.3854, allocations: 11.97 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3855, allocations: 12.84 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.3859, allocations: 220.1 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3859, allocations: 8.375 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.386, allocations: 12.38 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.3863, allocations: 99.86 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3863, allocations: 4.188 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3863, allocations: 7.938 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3863, allocations: 0 / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.693e-05/0.3864, allocations: 47.89 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.3871, allocations: 492.8 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.3873, allocations: 57.14 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.3873, allocations: 29.77 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3873, allocations: 3.938 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.3875, allocations: 121 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3875, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003455/0.3879, allocations: 129.5 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.388, allocations: 81.11 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3881, allocations: 137.7 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.3882, allocations: 33.7 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.3883, allocations: 96.03 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3883, allocations: 23.83 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.3884, allocations: 21.72 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3886, allocations: 322.8 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.3888, allocations: 127.9 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3891, allocations: 161 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.3894, allocations: 224.3 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3894, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006544/0.3901, allocations: 380.6 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.3902, allocations: 63.41 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3902, allocations: 8.188 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.3902, allocations: 3.984 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.838e-05/0.3902, allocations: 8 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3903, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.3908, allocations: 87.84 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.3908, allocations: 12 kB / 1.064 GB, free: 15.02 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.0001819/0.391, allocations: 141.8 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.391, allocations: 7.906 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.3911, allocations: 7.906 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3911, allocations: 8 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3911, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3911, allocations: 3.938 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3913, allocations: 186 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3913, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.3914, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3914, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3914, allocations: 11.98 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3914, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3914, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.3916, allocations: 145.7 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.3917, allocations: 85.02 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3917, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/0.3917, allocations: 4 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3918, allocations: 11.92 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3918, allocations: 4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.3919, allocations: 103.2 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.034e-06/0.3919, allocations: 4 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002781/0.3922, allocations: 39.88 kB / 1.065 GB, free: 14.18 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.0002049/0.3924, allocations: 107.2 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.3929, allocations: 326.6 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3929, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.3929, allocations: 31.92 kB / 1.065 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.0002485/0.3932, allocations: 24.34 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.3937, allocations: 226.3 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.394, allocations: 0.7004 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.394, allocations: 8 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.394, allocations: 11.44 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.394, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.005637/0.3997, allocations: 2.156 MB / 1.068 GB, free: 10.54 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/jenkins/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