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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007057/0.007057, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001388/0.001388, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.076, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002199/1.078, allocations: 0.6177 MB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001591/1.08, allocations: 1.127 MB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/1.08, allocations: 4 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/1.08, allocations: 3.984 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/1.08, allocations: 7.938 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/1.081, allocations: 123.5 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/1.081, allocations: 199.6 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/1.081, allocations: 20 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.895e-05/1.081, allocations: 79.88 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/1.081, allocations: 71.83 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/1.081, allocations: 16 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/1.082, allocations: 27.98 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/1.082, allocations: 23.92 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/1.082, allocations: 67.81 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/1.082, allocations: 195 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.082, allocations: 8 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/1.082, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.082, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 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.0007609/1.083, allocations: 456.7 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.083, allocations: 8.031 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/1.083, allocations: 12.84 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/1.083, allocations: 220.3 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/1.083, allocations: 8.359 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/1.083, allocations: 16.38 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/1.084, allocations: 103.8 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/1.084, allocations: 192 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/1.084, allocations: 3.938 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/1.084, allocations: 4 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/1.084, allocations: 39.97 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/1.084, allocations: 0.4889 MB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/1.084, allocations: 57.12 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/1.084, allocations: 25.77 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-06/1.084, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/1.085, allocations: 117 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/1.085, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003145/1.085, allocations: 133.8 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/1.085, allocations: 81.11 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/1.085, allocations: 129.8 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/1.085, allocations: 37.69 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/1.085, allocations: 100 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/1.085, allocations: 7.812 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/1.085, allocations: 61.67 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.086, allocations: 326.7 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/1.086, allocations: 123.9 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/1.086, allocations: 161 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/1.086, allocations: 228.3 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.086, allocations: 0 / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005576/1.087, allocations: 376.6 kB / 1.213 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/1.087, allocations: 67.39 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.087, allocations: 192 / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.087, allocations: 8 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.146e-05/1.087, allocations: 0 / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/1.087, allocations: 4 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/1.087, allocations: 75.78 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/1.087, allocations: 12 kB / 1.214 GB, free: 7.266 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.0001324/1.087, allocations: 145.8 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/1.088, allocations: 7.906 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/1.088, allocations: 3.906 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.088, allocations: 0 / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.088, allocations: 4 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.088, allocations: 3.938 kB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/1.088, allocations: 185.6 kB / 1.214 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.088, allocations: 4 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-06/1.088, allocations: 0 / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.088, allocations: 0 / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/1.088, allocations: 11.98 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.088, allocations: 0 / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.088, allocations: 0 / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/1.088, allocations: 137.7 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/1.088, allocations: 85.09 kB / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/1.088, allocations: 0 / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/1.088, allocations: 0 / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/1.088, allocations: 19.92 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/1.088, allocations: 4 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.988e-05/1.088, allocations: 99.2 kB / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.088, allocations: 0 / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000261/1.088, allocations: 43.91 kB / 1.214 GB, free: 6.414 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.0001625/1.089, allocations: 107.2 kB / 1.214 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004568/1.089, allocations: 322.9 kB / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.089, allocations: 4.062 kB / 1.215 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/1.089, allocations: 35.92 kB / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/1.089, allocations: 19.97 kB / 1.215 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/1.09, allocations: 199.4 kB / 1.215 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/1.09, allocations: 0.708 MB / 1.216 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.359e-05/1.09, allocations: 11.98 kB / 1.216 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/1.09, allocations: 11.42 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.09, allocations: 4 kB / 1.216 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of Templates: time 0.004966/1.095, allocations: 2.259 MB / 1.218 GB, free: 2.684 MB / 0.9356 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