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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008639/0.008639, allocations: 104 kB / 15.73 MB, free: 6.051 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.001737/0.001737, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7348 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 1.054 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8612/0.8628, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001875/0.8647, allocations: 0.6171 MB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.8661, allocations: 1.12 MB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.8662, allocations: 8 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.259e-05/0.8663, allocations: 3.938 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.78e-05/0.8664, allocations: 7.984 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.8668, allocations: 126.6 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.8671, allocations: 207.7 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.8672, allocations: 15.94 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.8673, allocations: 75.95 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.8675, allocations: 71.77 kB / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.8675, allocations: 16 kB / 1.209 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.8677, allocations: 31.98 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.8677, allocations: 23.91 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.8678, allocations: 63.83 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.8681, allocations: 201.7 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8681, allocations: 4 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8681, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8681, allocations: 0 / 1.21 GB, free: 10.93 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.0005586/0.8687, allocations: 462.6 kB / 1.21 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8687, allocations: 12.03 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.8688, allocations: 34.73 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.8688, allocations: 12.84 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.8691, allocations: 216.3 kB / 1.21 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.8691, allocations: 4.375 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.8691, allocations: 12.38 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.8693, allocations: 103.9 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8693, allocations: 3.938 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.8693, allocations: 3.938 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8694, allocations: 4 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.8694, allocations: 43.91 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.87, allocations: 0.4928 MB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.902e-05/0.87, allocations: 53.14 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.8701, allocations: 25.77 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.8701, allocations: 4 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.8702, allocations: 113 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.8703, allocations: 0 / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002771/0.8705, allocations: 133.5 kB / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.8706, allocations: 81.11 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.8707, allocations: 137.8 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.8708, allocations: 29.7 kB / 1.212 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.8708, allocations: 100 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.8709, allocations: 15.8 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.871, allocations: 53.69 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.8711, allocations: 318.8 kB / 1.212 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.8713, allocations: 127.8 kB / 1.212 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.8715, allocations: 161 kB / 1.212 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.8718, allocations: 228.3 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8718, allocations: 0 / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006551/0.8725, allocations: 381 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.8725, allocations: 69.3 kB / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8725, allocations: 3.984 kB / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8726, allocations: 4 kB / 1.213 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-05/0.8726, allocations: 8 kB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8726, allocations: 0 / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.873, allocations: 71.78 kB / 1.213 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.873, allocations: 15.98 kB / 1.213 GB, free: 7.102 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.0001192/0.8731, allocations: 141.8 kB / 1.213 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.8732, allocations: 7.906 kB / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.8732, allocations: 3.906 kB / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.8732, allocations: 4 kB / 1.213 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8732, allocations: 0 / 1.213 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.8732, allocations: 3.938 kB / 1.213 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.8734, allocations: 185.6 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8734, allocations: 0 / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.8734, allocations: 3.984 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8734, allocations: 4 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.8734, allocations: 4 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8734, allocations: 0 / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8734, allocations: 0 / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.8736, allocations: 145.7 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.8737, allocations: 81.11 kB / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.8737, allocations: 0 / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.8737, allocations: 4 kB / 1.214 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.8738, allocations: 11.92 kB / 1.214 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.8738, allocations: 8 kB / 1.214 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.8738, allocations: 99.2 kB / 1.214 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8739, allocations: 0 / 1.214 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002499/0.8741, allocations: 39.91 kB / 1.214 GB, free: 6.258 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.000489/0.8746, allocations: 0.6718 MB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004387/0.875, allocations: 322.6 kB / 1.215 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.8751, allocations: 0 / 1.215 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.8751, allocations: 31.98 kB / 1.215 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.8754, allocations: 29.34 kB / 1.215 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.8779, allocations: 2.176 MB / 1.217 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.8781, allocations: 0.708 MB / 1.218 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.8782, allocations: 4 kB / 1.218 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.8782, allocations: 23.42 kB / 1.218 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.8782, allocations: 0 / 1.218 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.8975, allocations: 3.488 MB / 1.221 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.685, allocations: 4.719 kB / 1.221 GB, free: 14.76 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > 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/jenkins1/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