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.0017/0.0017, allocations: 108 kB / 15.61 MB, free: 152 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.001824/0.001824, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.573/2.573, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001794, allocations: 70.08 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2629, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001873/0.2648, allocations: 0.6315 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2662, allocations: 1.118 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.2663, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.498e-05/0.2664, allocations: 7.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.2665, allocations: 7.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.2669, allocations: 118.8 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.2671, allocations: 199.7 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2672, allocations: 16 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2674, allocations: 83.88 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2675, allocations: 59.8 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.2675, allocations: 16 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.2676, allocations: 23.98 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.2677, allocations: 31.91 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2678, allocations: 63.83 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.268, allocations: 195.8 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2681, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2681, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2681, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8262 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.0006077/0.2687, allocations: 465 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2687, allocations: 12.03 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.2688, allocations: 34.75 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.2688, allocations: 12.84 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2691, allocations: 224.2 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2691, allocations: 12.3 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.2691, allocations: 12.38 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.2693, allocations: 103.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2693, allocations: 7.938 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2694, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2694, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.2694, allocations: 43.91 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.27, allocations: 496.7 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.625e-05/0.2701, allocations: 53.19 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.2701, allocations: 25.77 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.2701, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.2703, allocations: 121 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.2703, allocations: 0 / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002739/0.2706, allocations: 129.5 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.2707, allocations: 85.11 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2708, allocations: 133.7 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.2708, allocations: 37.69 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.2709, allocations: 100 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2709, allocations: 15.81 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.271, allocations: 53.69 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2712, allocations: 318.8 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.2714, allocations: 127.8 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2716, allocations: 165 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.2719, allocations: 216.4 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2719, allocations: 0 / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005856/0.2725, allocations: 384.7 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.2725, allocations: 67.58 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2726, allocations: 4 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2726, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.476e-05/0.2726, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2726, allocations: 4 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.273, allocations: 67.75 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.273, allocations: 15.98 kB / 1.07 GB, free: 7.816 MB / 0.8262 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.0001224/0.2732, allocations: 143.5 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.2732, allocations: 7.906 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.2732, allocations: 7.906 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2732, allocations: 3.984 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2732, allocations: 4 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2733, allocations: 3.938 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.2734, allocations: 181.6 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2734, allocations: 3.938 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-06/0.2734, allocations: 3.984 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2735, allocations: 4 kB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2735, allocations: 8 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2735, allocations: 0 / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2735, allocations: 0 / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.2736, allocations: 133.8 kB / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.2737, allocations: 85.02 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2737, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.2737, allocations: 4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.2738, allocations: 15.92 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2738, allocations: 4 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.458e-05/0.2739, allocations: 103.2 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2739, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002445/0.2741, allocations: 43.83 kB / 1.071 GB, free: 6.969 MB / 0.8262 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.00048/0.2746, allocations: 0.6718 MB / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.2751, allocations: 326.7 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2751, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.2751, allocations: 35.91 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.2754, allocations: 29.23 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.2778, allocations: 2.159 MB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2781, allocations: 0.6963 MB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.2782, allocations: 12 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.2782, allocations: 27.42 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2782, allocations: 0 / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.628/1.906, allocations: 3.445 MB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/13.66, allocations: 16.09 kB / 1.078 GB, free: 15.49 MB / 0.8419 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