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.001181/0.001181, allocations: 108 kB / 15.6 MB, free: 132 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.001229/0.001229, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7346 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 62.89 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002032/0.2841, allocations: 0.6293 MB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2856, allocations: 1.123 MB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.2857, allocations: 0 / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.2858, allocations: 11.94 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.2859, allocations: 11.92 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.2864, allocations: 119 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2867, allocations: 199.6 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2868, allocations: 20 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2869, allocations: 79.88 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.287, allocations: 51.88 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.2871, allocations: 16 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.2872, allocations: 31.92 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.2873, allocations: 27.91 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.2874, allocations: 63.83 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2877, allocations: 203.8 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2877, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2877, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2877, allocations: 0 / 1.055 GB, free: 5.648 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.0006116/0.2883, allocations: 454.7 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2884, allocations: 16.56 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.2884, allocations: 30.75 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.2885, allocations: 12.84 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.2887, allocations: 216.3 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2887, allocations: 8.375 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.2888, allocations: 20.3 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.289, allocations: 103.9 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.289, allocations: 3.938 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.289, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.289, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.2891, allocations: 43.91 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.2896, allocations: 488.8 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.563e-05/0.2897, allocations: 61.12 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.2897, allocations: 25.77 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2898, allocations: 4 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.2899, allocations: 116.9 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.2899, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002761/0.2902, allocations: 137.7 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.2903, allocations: 81.11 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2904, allocations: 145.6 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.2905, allocations: 29.7 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.2905, allocations: 104 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.2906, allocations: 11.81 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2907, allocations: 53.69 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2908, allocations: 322.8 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.291, allocations: 119.9 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.2912, allocations: 169 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.2915, allocations: 216.3 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2915, allocations: 0 / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005655/0.2921, allocations: 388.7 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.2921, allocations: 63.39 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2921, allocations: 0 / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2922, allocations: 4 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.789e-05/0.2922, allocations: 0 / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2922, allocations: 4 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.2926, allocations: 75.94 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.2927, allocations: 15.98 kB / 1.059 GB, free: 1.82 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.0001171/0.2928, allocations: 135.3 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.2928, allocations: 7.906 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.2928, allocations: 7.906 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2929, allocations: 0 / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2929, allocations: 7.938 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2929, allocations: 3.938 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.293, allocations: 193.6 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.293, allocations: 0 / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-06/0.293, allocations: 3.984 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.293, allocations: 0 / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2931, allocations: 4 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2931, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2931, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.2932, allocations: 141.8 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.2933, allocations: 89.02 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2933, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.2933, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.2934, allocations: 12.16 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2934, allocations: 4 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.2934, allocations: 99.27 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.543e-06/0.2934, allocations: 0 / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002557/0.2937, allocations: 43.88 kB / 1.06 GB, free: 0.9805 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.0004499/0.2942, allocations: 0.6843 MB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.2946, allocations: 322.7 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2946, allocations: 0 / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.2947, allocations: 36.34 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2949, allocations: 19.92 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.2973, allocations: 2.165 MB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2975, allocations: 0.7079 MB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.2975, allocations: 8 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.2976, allocations: 19.44 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of SimCode: time 5.42e-07/0.2976, allocations: 0 / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.3178, allocations: 3.445 MB / 1.067 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.17/7.488, allocations: 6.688 kB / 1.067 GB, free: 9.512 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