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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005303/0.005303, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001487/0.001487, allocations: 195 kB / 16.68 MB, free: 5.969 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.748/2.748, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2791, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001589/0.2807, allocations: 0.6334 MB / 1.242 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2821, allocations: 1.112 MB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.2822, allocations: 0 / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.226e-05/0.2822, allocations: 7.938 kB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.2823, allocations: 7.922 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.2827, allocations: 122.8 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.283, allocations: 195.7 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.2831, allocations: 19.98 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.2832, allocations: 83.81 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.2833, allocations: 71.84 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.2834, allocations: 12 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.2835, allocations: 27.98 kB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.2835, allocations: 31.92 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.2836, allocations: 59.83 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.2839, allocations: 199.5 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2839, allocations: 0 / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2839, allocations: 3.938 kB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2839, allocations: 0 / 1.244 GB, free: 7.25 MB / 0.9981 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.000551/0.2845, allocations: 462.5 kB / 1.245 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2845, allocations: 8.031 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.2846, allocations: 42.69 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.2846, allocations: 12.89 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2848, allocations: 220.3 kB / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2849, allocations: 4.375 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.2849, allocations: 16.38 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.2851, allocations: 99.8 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2851, allocations: 7.922 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2851, allocations: 8 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2851, allocations: 0 / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.2852, allocations: 39.97 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.2858, allocations: 492.8 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.519e-05/0.2858, allocations: 53.14 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.2859, allocations: 33.75 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.2859, allocations: 0 / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.2861, allocations: 117 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.2861, allocations: 0 / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002656/0.2863, allocations: 133.8 kB / 1.246 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.2864, allocations: 85.11 kB / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.2865, allocations: 137.7 kB / 1.246 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.2866, allocations: 33.7 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.2866, allocations: 104 kB / 1.246 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.2867, allocations: 19.89 kB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2868, allocations: 49.69 kB / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2869, allocations: 322.8 kB / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.2871, allocations: 119.9 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.2874, allocations: 165.5 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.2876, allocations: 220.4 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2876, allocations: 0 / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005702/0.2882, allocations: 384.7 kB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.2883, allocations: 63.41 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2883, allocations: 4 kB / 1.248 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2883, allocations: 0 / 1.248 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.236e-05/0.2883, allocations: 11.92 kB / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2883, allocations: 0 / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.2887, allocations: 71.98 kB / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.2888, allocations: 11.98 kB / 1.248 GB, free: 3.414 MB / 0.9981 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.0001208/0.2889, allocations: 138.4 kB / 1.248 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.2889, allocations: 7.953 kB / 1.248 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.2889, allocations: 11.89 kB / 1.248 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2889, allocations: 4 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.289, allocations: 0 / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.289, allocations: 3.938 kB / 1.248 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2891, allocations: 185.6 kB / 1.248 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2891, allocations: 3.938 kB / 1.248 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.2891, allocations: 3.938 kB / 1.248 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2892, allocations: 4 kB / 1.248 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2892, allocations: 4 kB / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2892, allocations: 0 / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2892, allocations: 0 / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.2894, allocations: 133.8 kB / 1.248 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.2894, allocations: 93 kB / 1.248 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2894, allocations: 3.984 kB / 1.248 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/0.2895, allocations: 8 kB / 1.248 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.2895, allocations: 3.938 kB / 1.248 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2895, allocations: 4 kB / 1.248 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.759e-05/0.2896, allocations: 107.3 kB / 1.248 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.834e-06/0.2896, allocations: 0 / 1.248 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002389/0.2898, allocations: 35.94 kB / 1.248 GB, free: 2.57 MB / 0.9981 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.0004821/0.2903, allocations: 0.6797 MB / 1.249 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.2908, allocations: 322.6 kB / 1.249 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2908, allocations: 0 / 1.249 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.2908, allocations: 44.27 kB / 1.249 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2911, allocations: 25.33 kB / 1.25 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5013/0.7923, allocations: 2.16 MB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.7925, allocations: 0.7019 MB / 1.252 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.7925, allocations: 6.812 kB / 1.252 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.7926, allocations: 21.97 kB / 1.252 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.7926, allocations: 2.531 kB / 1.252 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/2.423, allocations: 3.482 MB / 1.256 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/16.61, allocations: 12.66 kB / 1.256 GB, free: 12.86 MB / 0.9981 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=400 --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