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.00174/0.00174, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002104/0.002104, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.535 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 2.485/2.485, allocations: 390.2 MB / 0.6644 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 67.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7819, allocations: 140.4 MB / 0.9492 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002193/0.7842, allocations: 0.6832 MB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.7857, allocations: 1.111 MB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.7858, allocations: 1.219 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.7859, allocations: 3.938 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/0.786, allocations: 10.34 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.7865, allocations: 117.5 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.7867, allocations: 191.3 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.7869, allocations: 22.14 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.787, allocations: 79.97 kB / 0.9514 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.7871, allocations: 58.88 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.7871, allocations: 14.81 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.894e-05/0.7872, allocations: 29.11 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.7873, allocations: 19.14 kB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.7874, allocations: 75.69 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.7877, allocations: 196.4 kB / 0.9518 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7877, allocations: 0 / 0.9518 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7877, allocations: 1.375 kB / 0.9518 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7877, allocations: 0 / 0.9518 GB, free: 7.137 MB / 0.7169 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.0005625/0.7883, allocations: 455.2 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.7883, allocations: 13.61 kB / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.7883, allocations: 37.44 kB / 0.9523 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.7884, allocations: 11.91 kB / 0.9523 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.7887, allocations: 214.5 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.7887, allocations: 13.88 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.7887, allocations: 9.969 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.7889, allocations: 101.2 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.789, allocations: 7.875 kB / 0.9526 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.789, allocations: 5.203 kB / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.789, allocations: 1.156 kB / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.7891, allocations: 38.62 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.7897, allocations: 0.4893 MB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.562e-05/0.7898, allocations: 55.98 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.7898, allocations: 35.5 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.7898, allocations: 1.562 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.79, allocations: 107.8 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.79, allocations: 0 / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003161/0.7903, allocations: 137.4 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.7904, allocations: 83.45 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.7905, allocations: 142 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.7905, allocations: 30.42 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.7906, allocations: 99.09 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.7906, allocations: 10.47 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.7908, allocations: 52.59 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.7909, allocations: 320.1 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.7911, allocations: 119.1 kB / 0.9543 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.7913, allocations: 164 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.7916, allocations: 229.8 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7916, allocations: 0 / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005767/0.7922, allocations: 389.7 kB / 0.955 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.7922, allocations: 61 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7923, allocations: 1.438 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.7923, allocations: 1.344 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-05/0.7923, allocations: 10.8 kB / 0.9551 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.7923, allocations: 1.406 kB / 0.9551 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.7927, allocations: 77.62 kB / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.7928, allocations: 9.25 kB / 0.9552 GB, free: 4.125 MB / 0.7169 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.000123/0.7929, allocations: 136.3 kB / 0.9553 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.7929, allocations: 11.02 kB / 0.9553 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.793, allocations: 10.09 kB / 0.9553 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.793, allocations: 2.062 kB / 0.9553 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.793, allocations: 4 kB / 0.9553 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.793, allocations: 5.125 kB / 0.9553 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.7932, allocations: 184.9 kB / 0.9555 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7932, allocations: 0 / 0.9555 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.7932, allocations: 6 kB / 0.9555 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7932, allocations: 1.625 kB / 0.9555 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.7932, allocations: 3.984 kB / 0.9555 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7932, allocations: 0.8438 kB / 0.9555 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7932, allocations: 1.25 kB / 0.9555 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.7934, allocations: 137.6 kB / 0.9557 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.7934, allocations: 86.97 kB / 0.9557 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.7935, allocations: 1.062 kB / 0.9557 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.7935, allocations: 4.969 kB / 0.9557 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.7935, allocations: 7.031 kB / 0.9557 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.7936, allocations: 11.11 kB / 0.9558 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.7936, allocations: 100.5 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7936, allocations: 0 / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002648/0.7939, allocations: 34.91 kB / 0.9559 GB, free: 3.43 MB / 0.7169 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.0004293/0.7943, allocations: 0.682 MB / 0.9566 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.7948, allocations: 326.4 kB / 0.9569 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7948, allocations: 4.062 kB / 0.9569 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.333e-05/0.7949, allocations: 31.55 kB / 0.9569 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.7952, allocations: 19.11 kB / 0.9569 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.7975, allocations: 2.199 MB / 0.9591 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.7976, allocations: 0.7029 MB / 0.9598 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.7977, allocations: 14.27 kB / 0.9598 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.7977, allocations: 19.28 kB / 0.9598 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.7977, allocations: 0 / 0.9598 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2614/1.059, allocations: 3.356 MB / 0.9631 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/1.059, allocations: 222 kB / 0.9633 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.992, allocations: 4 kB / 0.9633 GB, free: 14.1 MB / 0.7325 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