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.001293/0.001293, 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.001334/0.001334, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.548/2.548, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6221, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001859/0.624, allocations: 0.687 MB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.6252, allocations: 1.117 MB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.6253, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.166e-05/0.6254, allocations: 3.938 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.6255, allocations: 7.984 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.6259, allocations: 107.4 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.6261, allocations: 199.6 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.6262, allocations: 19.98 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.091e-05/0.6263, allocations: 83.88 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.6264, allocations: 47.88 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.6264, allocations: 16 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.6265, allocations: 35.98 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.6266, allocations: 23.91 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.6267, allocations: 63.83 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.6269, allocations: 201.8 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.6269, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6269, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6269, allocations: 3.938 kB / 1.019 GB, free: 60 kB / 0.7637 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.0005529/0.6275, allocations: 462.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6275, allocations: 8.031 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.6276, allocations: 42.67 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.6276, allocations: 20.84 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.6279, allocations: 212.2 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.6279, allocations: 4.375 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.628, allocations: 16.38 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.6281, allocations: 99.86 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6281, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.6281, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6282, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.6282, allocations: 47.95 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.6287, allocations: 496.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.6288, allocations: 57.14 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.6289, allocations: 29.77 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.6289, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.629, allocations: 109 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.6291, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002529/0.6293, allocations: 133.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.6294, allocations: 89.03 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.6295, allocations: 137.7 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.6295, allocations: 33.7 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.6296, allocations: 104 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.6296, allocations: 7.906 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.6297, allocations: 53.67 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6298, allocations: 326.8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.63, allocations: 123.9 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.6302, allocations: 161 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.6305, allocations: 224.4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6305, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005354/0.631, allocations: 376.6 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.6311, allocations: 63.39 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6311, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.6311, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.85e-05/0.6312, allocations: 7.938 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6312, allocations: 12.11 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.6316, allocations: 75.7 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.6316, allocations: 11.98 kB / 1.023 GB, free: 12.21 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.0001064/0.6317, allocations: 134.4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.6317, allocations: 7.984 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.6318, allocations: 7.906 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.6318, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6318, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6318, allocations: 3.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.6319, allocations: 185.6 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.632, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-06/0.632, allocations: 3.938 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.632, allocations: 4 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.632, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.632, allocations: 3.984 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.632, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.6322, allocations: 137.8 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.6322, allocations: 85.02 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.6322, allocations: 3.984 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.6323, allocations: 0 / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.6323, allocations: 15.88 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.6323, allocations: 7.984 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.6324, allocations: 103.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6324, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002426/0.6326, allocations: 36 kB / 1.024 GB, free: 11.38 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.0004053/0.633, allocations: 0.6757 MB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.6335, allocations: 330.5 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6335, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.6335, allocations: 31.98 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.6338, allocations: 24.67 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.636, allocations: 2.181 MB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.6363, allocations: 0.7098 MB / 1.027 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.6363, allocations: 7.984 kB / 1.027 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.6364, allocations: 19.44 kB / 1.027 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6364, allocations: 0 / 1.027 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.6498, allocations: 3.362 MB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.6501, allocations: 230.3 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.314, allocations: 0 / 1.031 GB, free: 3.758 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