Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_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.001481/0.001481, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001847/0.001847, allocations: 191.6 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.098/2.098, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.013/3.013, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.52 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3657, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002496/0.3683, allocations: 0.6921 MB / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.37, allocations: 1.12 MB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.3701, allocations: 0 / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.3703, allocations: 7.922 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.3704, allocations: 4 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.371, allocations: 110.9 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.3713, allocations: 203.6 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3715, allocations: 19.98 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3716, allocations: 79.88 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3718, allocations: 59.86 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.3718, allocations: 16 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3719, allocations: 27.98 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.372, allocations: 23.92 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3721, allocations: 67.81 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.3724, allocations: 195.8 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3724, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3724, allocations: 3.938 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3725, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 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.0007542/0.3732, allocations: 459.8 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3733, allocations: 12.62 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.897e-05/0.3734, allocations: 34.75 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.3735, allocations: 12.84 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3737, allocations: 220.3 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3738, allocations: 8.375 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.3738, allocations: 16.38 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.374, allocations: 103.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3741, allocations: 3.938 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3741, allocations: 8 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3741, allocations: 4 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/0.3742, allocations: 35.97 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.3748, allocations: 488.8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.3749, allocations: 61.14 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.3749, allocations: 33.75 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.3749, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.3751, allocations: 120.9 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3751, allocations: 0 / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003175/0.3755, allocations: 129.9 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.3755, allocations: 85.05 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3757, allocations: 141.6 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.3757, allocations: 29.7 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.3758, allocations: 100 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.3758, allocations: 19.8 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3759, allocations: 53.69 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3761, allocations: 322.8 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3763, allocations: 127.8 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.3766, allocations: 157 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3769, allocations: 220.4 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3769, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006509/0.3775, allocations: 376.7 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.3776, allocations: 64.81 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3776, allocations: 11.92 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3776, allocations: 4.188 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.24e-05/0.3777, allocations: 4 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3777, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.3781, allocations: 71.75 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.3782, allocations: 12 kB / 1.058 GB, free: 2.215 MB / 0.8106 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.000136/0.3783, allocations: 139.3 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3783, allocations: 7.906 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.3784, allocations: 7.906 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3784, allocations: 4 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3784, allocations: 3.938 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3784, allocations: 3.938 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3786, allocations: 189.6 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3786, allocations: 0 / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-06/0.3786, allocations: 0 / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3786, allocations: 11.98 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3786, allocations: 0 / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3787, allocations: 4 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3787, allocations: 0 / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.3788, allocations: 129.9 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.3789, allocations: 85.02 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3789, allocations: 4 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.235e-05/0.3789, allocations: 0 / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.379, allocations: 19.86 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.379, allocations: 4 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.3791, allocations: 107.7 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3791, allocations: 0 / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002656/0.3793, allocations: 35.94 kB / 1.059 GB, free: 1.371 MB / 0.8106 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.0005058/0.3799, allocations: 0.6758 MB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004564/0.3803, allocations: 334.5 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3803, allocations: 0 / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.778e-05/0.3804, allocations: 31.97 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3807, allocations: 27.98 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.3833, allocations: 2.164 MB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3835, allocations: 0.7002 MB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.3836, allocations: 7.984 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.3836, allocations: 23.44 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.3836, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.3982, allocations: 3.365 MB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.3985, allocations: 225.9 kB / 1.066 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.527, allocations: 0 / 1.066 GB, free: 9.781 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches