Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_11_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.004198/0.004198, allocations: 98.55 kB / 15.73 MB, free: 6.043 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.001189/0.00119, allocations: 201.5 kB / 16.68 MB, free: 5.965 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 71.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2761, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001593/0.2778, allocations: 0.6141 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2791, allocations: 1.121 MB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.2791, allocations: 0 / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.427e-05/0.2792, allocations: 7.922 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.2793, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.2797, allocations: 123 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.2799, allocations: 199.6 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.28, allocations: 16 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.2801, allocations: 83.88 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2803, allocations: 71.83 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.2803, allocations: 19.94 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.2804, allocations: 27.98 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.2805, allocations: 23.92 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2806, allocations: 67.81 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2808, allocations: 199.4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2809, allocations: 4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2809, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2809, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 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.0005685/0.2814, allocations: 468 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2815, allocations: 8.031 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.2815, allocations: 42.73 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.2816, allocations: 16.88 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.2818, allocations: 208.3 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2819, allocations: 12.38 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2819, allocations: 8.375 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2821, allocations: 99.86 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2821, allocations: 11.94 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.2821, allocations: 0 / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2821, allocations: 0 / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.2822, allocations: 47.89 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.2827, allocations: 492.8 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/0.2828, allocations: 57.14 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.2829, allocations: 25.77 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-06/0.2829, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.283, allocations: 117 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2831, allocations: 4 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002656/0.2833, allocations: 133.5 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.2834, allocations: 81.09 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2835, allocations: 137.7 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.2836, allocations: 29.7 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.2836, allocations: 115.9 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2837, allocations: 11.95 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2838, allocations: 53.69 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2839, allocations: 322.8 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.2841, allocations: 119.9 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.2843, allocations: 165 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.2846, allocations: 224.3 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2846, allocations: 0 / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005792/0.2852, allocations: 377.1 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.2853, allocations: 71.39 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2853, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2853, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-05/0.2853, allocations: 4 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2853, allocations: 12.17 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.2857, allocations: 71.75 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.2858, allocations: 19.97 kB / 1.226 GB, free: 7.902 MB / 0.9825 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.0001204/0.2859, allocations: 137.8 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.2859, allocations: 4 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.2859, allocations: 15.91 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2859, allocations: 0 / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.286, allocations: 0 / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.286, allocations: 7.922 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.2861, allocations: 189.6 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2861, allocations: 0 / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-06/0.2862, allocations: 4 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2862, allocations: 0 / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2862, allocations: 0 / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2862, allocations: 0 / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2862, allocations: 4 kB / 1.226 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2864, allocations: 141.8 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.2864, allocations: 85.06 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2864, allocations: 0 / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/0.2865, allocations: 4 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.2865, allocations: 11.86 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.2865, allocations: 4 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.549e-05/0.2866, allocations: 103.3 kB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2866, allocations: 0 / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000236/0.2868, allocations: 35.98 kB / 1.227 GB, free: 7.062 MB / 0.9825 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.0004936/0.2873, allocations: 0.6761 MB / 1.227 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.2878, allocations: 326.6 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.2878, allocations: 4 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/0.2878, allocations: 27.97 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.2881, allocations: 29.36 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.2906, allocations: 2.175 MB / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.2909, allocations: 0.7002 MB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.2909, allocations: 7.984 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.2909, allocations: 19.44 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of SimCode: time 2.185e-06/0.2909, allocations: 0 / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/0.4108, allocations: 3.51 MB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.215, allocations: 3.938 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches