Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_9_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.009678/0.009678, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001926/0.001926, allocations: 188.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.337/2.337, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.697/3.697, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 68.2 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4516, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.003229/0.4549, allocations: 0.634 MB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.4577, allocations: 1.11 MB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.4578, allocations: 0 / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.4581, allocations: 3.938 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.4582, allocations: 11.92 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.4593, allocations: 123.8 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.4598, allocations: 199.7 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.46, allocations: 19.98 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.4602, allocations: 79.81 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.4605, allocations: 75.77 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.4606, allocations: 16 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.4608, allocations: 28 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.4609, allocations: 27.91 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.4611, allocations: 71.81 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.4616, allocations: 202.3 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4616, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4616, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.4616, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 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.001248/0.4629, allocations: 451.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.597e-05/0.463, allocations: 8.031 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.747e-05/0.4631, allocations: 46.69 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.4632, allocations: 16.83 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.4639, allocations: 212.3 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.4639, allocations: 8.375 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.464, allocations: 12.38 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.4642, allocations: 103.8 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4642, allocations: 3.938 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.4643, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4643, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.4644, allocations: 51.97 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/0.4653, allocations: 492.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.4654, allocations: 53.19 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.4655, allocations: 29.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-06/0.4655, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.4657, allocations: 113 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.4658, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004075/0.4662, allocations: 133.5 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.4663, allocations: 85.05 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4665, allocations: 137.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.4666, allocations: 37.7 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.4668, allocations: 99.97 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.4668, allocations: 15.8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.467, allocations: 57.69 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4672, allocations: 310.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.4675, allocations: 127.9 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.4678, allocations: 165 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.4682, allocations: 220.8 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4682, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008623/0.4691, allocations: 372.7 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.397e-05/0.4692, allocations: 67.39 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4692, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.4693, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.08e-05/0.4693, allocations: 7.938 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4693, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.4699, allocations: 71.94 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.4699, allocations: 8 kB / 1.093 GB, free: 11.57 MB / 0.8575 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.0002118/0.4702, allocations: 141.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.4702, allocations: 7.906 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.4702, allocations: 7.906 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4703, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4703, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4703, allocations: 7.938 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.4705, allocations: 189.6 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4706, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.4706, allocations: 15.86 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4706, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4706, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.4706, allocations: 11.94 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4706, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.4709, allocations: 137.9 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.471, allocations: 81.02 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.471, allocations: 4 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.4711, allocations: 0 / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.4711, allocations: 15.92 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.4711, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.644e-05/0.4712, allocations: 95.27 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.978e-06/0.4712, allocations: 4 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004156/0.4717, allocations: 35.94 kB / 1.094 GB, free: 10.72 MB / 0.8575 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.0007318/0.4724, allocations: 0.6757 MB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006421/0.4731, allocations: 322.6 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4731, allocations: 4.375 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.4732, allocations: 35.92 kB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.4736, allocations: 23.91 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.4775, allocations: 2.163 MB / 1.097 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.478, allocations: 0.7079 MB / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.478, allocations: 8 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.4781, allocations: 23.42 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.4781, allocations: 0 / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.511, allocations: 3.474 MB / 1.101 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.1, allocations: 21.45 kB / 1.101 GB, free: 3.219 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches