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.001371/0.001371, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.322/2.322, allocations: 390.3 MB / 0.6647 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.6062, allocations: 140.4 MB / 0.9497 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001635/0.6079, allocations: 0.6183 MB / 0.9503 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.6089, allocations: 1.115 MB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.609, allocations: 3.938 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.113e-05/0.6091, allocations: 9.609 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.6091, allocations: 13.02 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.6095, allocations: 117.1 kB / 0.9516 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.6097, allocations: 192.5 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.6098, allocations: 22.11 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.6099, allocations: 79.75 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.6101, allocations: 58.47 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.6101, allocations: 14.91 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.6102, allocations: 29.92 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.6103, allocations: 19.39 kB / 0.952 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.595e-05/0.6104, allocations: 70.59 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.6106, allocations: 199.9 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6106, allocations: 1.188 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6106, allocations: 0 / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6106, allocations: 0 / 0.9522 GB, free: 7.223 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.0004562/0.6111, allocations: 456.5 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6111, allocations: 8.719 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.6111, allocations: 45.14 kB / 0.9527 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.6112, allocations: 13 kB / 0.9527 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.6114, allocations: 214.4 kB / 0.9529 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.6114, allocations: 12.66 kB / 0.9529 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.6115, allocations: 15.09 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.6116, allocations: 100.8 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.6116, allocations: 3.938 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6116, allocations: 8.953 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6117, allocations: 1.125 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.615e-05/0.6117, allocations: 39.5 kB / 0.9531 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.6122, allocations: 0.4889 MB / 0.9536 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.297e-05/0.6122, allocations: 56.05 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.6123, allocations: 23.11 kB / 0.9536 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.6123, allocations: 5.062 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.6124, allocations: 113.9 kB / 0.9538 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.6124, allocations: 0 / 0.9538 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002705/0.6127, allocations: 132.5 kB / 0.9539 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.6128, allocations: 88.08 kB / 0.954 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.6129, allocations: 142.2 kB / 0.9541 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.6129, allocations: 29.58 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.613, allocations: 103.3 kB / 0.9542 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.613, allocations: 11.12 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.6131, allocations: 53.25 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.6131, allocations: 320 kB / 0.9546 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.6134, allocations: 118.7 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.6136, allocations: 168 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.6138, allocations: 221.7 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6138, allocations: 0 / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005077/0.6143, allocations: 389.3 kB / 0.9555 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.6144, allocations: 66.06 kB / 0.9555 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6144, allocations: 1.375 kB / 0.9555 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6144, allocations: 1.438 kB / 0.9555 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/0.6145, allocations: 10.48 kB / 0.9555 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6145, allocations: 1.5 kB / 0.9555 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.6149, allocations: 70.64 kB / 0.9556 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.6149, allocations: 17.36 kB / 0.9556 GB, free: 4.203 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 9.909e-05/0.615, allocations: 129 kB / 0.9557 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.615, allocations: 17.17 kB / 0.9558 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.6151, allocations: 11.06 kB / 0.9558 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6151, allocations: 3.938 kB / 0.9558 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6151, allocations: 0 / 0.9558 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6151, allocations: 3.938 kB / 0.9558 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.6152, allocations: 189.8 kB / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6152, allocations: 0 / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-06/0.6152, allocations: 7.438 kB / 0.956 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6152, allocations: 0 / 0.956 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.6152, allocations: 3.984 kB / 0.956 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6153, allocations: 3.562 kB / 0.956 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6153, allocations: 4 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.6154, allocations: 135.5 kB / 0.9561 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.6154, allocations: 86.97 kB / 0.9562 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.6155, allocations: 1.281 kB / 0.9562 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.6155, allocations: 1.125 kB / 0.9562 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.6155, allocations: 7.188 kB / 0.9562 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.6155, allocations: 7.078 kB / 0.9562 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.6156, allocations: 99.64 kB / 0.9563 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.102e-06/0.6156, allocations: 0 / 0.9563 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002516/0.6158, allocations: 35.47 kB / 0.9563 GB, free: 3.508 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.0003421/0.6162, allocations: 0.6732 MB / 0.957 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.6166, allocations: 326.4 kB / 0.9573 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6166, allocations: 384 / 0.9573 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.6167, allocations: 40.39 kB / 0.9573 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.6169, allocations: 16.8 kB / 0.9574 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.619, allocations: 2.169 MB / 0.9595 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.6192, allocations: 0.7074 MB / 0.9602 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.6192, allocations: 14.17 kB / 0.9602 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.6192, allocations: 18.84 kB / 0.9602 GB, free: 108 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6192, allocations: 0 / 0.9602 GB, free: 108 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.332/0.9513, allocations: 3.446 MB / 0.9636 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/8.287, allocations: 9 kB / 0.9636 GB, free: 14.33 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