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.008263/0.008263, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00188/0.00188, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.402/2.402, allocations: 390.3 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.44 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.313, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002311/0.3154, allocations: 0.6251 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3173, allocations: 1.122 MB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.3174, allocations: 0 / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.3176, allocations: 7.938 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3177, allocations: 15.91 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.3183, allocations: 121.8 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.3186, allocations: 195.7 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3188, allocations: 19.98 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3189, allocations: 79.88 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.3191, allocations: 67.86 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.3192, allocations: 16 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3193, allocations: 35.81 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.3194, allocations: 27.91 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.3195, allocations: 59.84 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.3198, allocations: 198.3 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3198, allocations: 7.922 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.584e-06/0.3199, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3199, allocations: 0 / 1.09 GB, free: 15.45 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.0008277/0.3207, allocations: 457.4 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3208, allocations: 8.031 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.3208, allocations: 38.75 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.3209, allocations: 12.84 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3213, allocations: 216.2 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3213, allocations: 16.36 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.3213, allocations: 12.36 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.3215, allocations: 95.92 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3216, allocations: 3.938 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3216, allocations: 8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3216, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.417e-05/0.3217, allocations: 43.91 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.3224, allocations: 496.7 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.328e-05/0.3225, allocations: 57.19 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.3225, allocations: 29.77 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.3226, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.3228, allocations: 120.9 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3228, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003298/0.3231, allocations: 137.5 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3232, allocations: 77.11 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3233, allocations: 137.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3234, allocations: 33.69 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.3234, allocations: 96.05 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3235, allocations: 19.8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.3236, allocations: 57.67 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3237, allocations: 314.8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.324, allocations: 127.9 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.3242, allocations: 161.4 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3245, allocations: 224.4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3245, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005931/0.3251, allocations: 372.7 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.3252, allocations: 71.33 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3252, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3252, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.145e-05/0.3252, allocations: 4.375 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3253, allocations: 192 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.3257, allocations: 75.75 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.3257, allocations: 15.94 kB / 1.093 GB, free: 11.62 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.0001317/0.3258, allocations: 137.8 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.3259, allocations: 7.906 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.3259, allocations: 15.89 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3259, allocations: 4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3259, allocations: 0 / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.326, allocations: 3.938 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3261, allocations: 185.6 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3261, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.3261, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3262, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3262, allocations: 3.984 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3262, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.3262, allocations: 8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3264, allocations: 137.8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.3264, allocations: 85 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.3265, allocations: 4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.3265, allocations: 4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3265, allocations: 7.922 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3265, allocations: 4 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.3266, allocations: 103.3 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3266, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002624/0.3269, allocations: 32 kB / 1.094 GB, free: 10.78 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.0005033/0.3274, allocations: 0.6756 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.3279, allocations: 326.6 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3279, allocations: 0 / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.3279, allocations: 31.92 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3282, allocations: 27.86 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.3308, allocations: 2.167 MB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3312, allocations: 0.7016 MB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.3312, allocations: 8 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.3313, allocations: 27.36 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.3313, allocations: 0 / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.3554, allocations: 3.542 MB / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.166, allocations: 13.62 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