Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_10_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.001521/0.001522, allocations: 108 kB / 15.61 MB, free: 152 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.002169/0.00217, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 59.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5889/0.5904, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.003052/0.5935, allocations: 0.6183 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.5954, allocations: 1.117 MB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.5955, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.5956, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.5958, allocations: 15.91 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.5963, allocations: 119.3 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.5966, allocations: 199.6 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.5968, allocations: 23.97 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.5969, allocations: 75.91 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.5971, allocations: 55.84 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.5971, allocations: 16 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.5972, allocations: 27.98 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.5973, allocations: 23.92 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.5974, allocations: 71.81 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.5977, allocations: 197.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5978, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5978, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.5978, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 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.0006671/0.5984, allocations: 452.3 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5985, allocations: 19.91 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.5985, allocations: 42.73 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.5986, allocations: 12.84 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.5989, allocations: 216.2 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5989, allocations: 4.375 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.599, allocations: 16.38 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.5992, allocations: 103.8 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5992, allocations: 3.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5992, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5992, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.5993, allocations: 47.95 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.5999, allocations: 496.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.6, allocations: 53.14 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.6, allocations: 25.77 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-06/0.6, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.6002, allocations: 113 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.6002, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003082/0.6005, allocations: 137.5 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.6006, allocations: 89.03 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.6007, allocations: 141.7 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.6008, allocations: 33.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.6009, allocations: 108 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.6009, allocations: 3.906 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.601, allocations: 53.69 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6011, allocations: 322.8 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.6013, allocations: 119.9 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.6016, allocations: 169 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.6018, allocations: 216.4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6018, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005988/0.6024, allocations: 384.6 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.6025, allocations: 63.39 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6025, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6025, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.319e-05/0.6026, allocations: 7.938 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6026, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.603, allocations: 76.42 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.603, allocations: 15.98 kB / 1.023 GB, free: 12.07 MB / 0.7794 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.0001213/0.6032, allocations: 133.8 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.6032, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.6032, allocations: 7.891 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6032, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6032, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6033, allocations: 3.938 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.6034, allocations: 201.6 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6034, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-06/0.6035, allocations: 3.938 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.6035, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6035, allocations: 4 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6035, allocations: 0 / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6035, allocations: 0 / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.6037, allocations: 138.2 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.6037, allocations: 89.02 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.6037, allocations: 3.984 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.6038, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.6038, allocations: 15.92 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.6038, allocations: 7.938 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.6039, allocations: 103.2 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.503e-06/0.6039, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002519/0.6041, allocations: 39.94 kB / 1.024 GB, free: 11.22 MB / 0.7794 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.0005113/0.6047, allocations: 0.6679 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.6051, allocations: 330.5 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6052, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.924e-05/0.6052, allocations: 36.34 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.6055, allocations: 24.48 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.6081, allocations: 2.149 MB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.6085, allocations: 0.704 MB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.6085, allocations: 8 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.6086, allocations: 23.42 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6086, allocations: 0 / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.6298, allocations: 3.45 MB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.688, allocations: 19.77 kB / 1.031 GB, free: 3.746 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches