Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_10_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.01045/0.01045, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.002329/0.002329, allocations: 191.7 kB / 16.67 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 2.454/2.454, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.473/4.473, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 67.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5355, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.003308/0.5388, allocations: 0.6225 MB / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.5416, allocations: 1.121 MB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.5418, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.542, allocations: 3.938 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.5422, allocations: 11.86 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008072/0.543, allocations: 131.3 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.5435, allocations: 203.7 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.5437, allocations: 12.27 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.544, allocations: 83.88 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.5443, allocations: 59.86 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.5443, allocations: 23.94 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.5445, allocations: 35.97 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.5446, allocations: 15.98 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.5448, allocations: 67.77 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.5453, allocations: 203.4 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5453, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5453, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.5453, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 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.0009701/0.5463, allocations: 462.5 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.5464, allocations: 16.03 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.5465, allocations: 30.75 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.5466, allocations: 12.89 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.547, allocations: 220.3 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.547, allocations: 4.375 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.5471, allocations: 12.38 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.5474, allocations: 103.8 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5474, allocations: 3.938 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.5474, allocations: 3.984 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.5474, allocations: 8 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.5476, allocations: 39.97 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.5485, allocations: 496.8 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.5486, allocations: 53.14 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/0.5487, allocations: 33.75 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.5487, allocations: 4 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.549, allocations: 109 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 2.514e-06/0.549, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004748/0.5495, allocations: 141.5 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.5496, allocations: 85.11 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.5498, allocations: 133.8 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.5499, allocations: 33.64 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.55, allocations: 108 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.55, allocations: 7.938 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.5502, allocations: 53.69 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.5504, allocations: 322.8 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.5508, allocations: 119.9 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.5511, allocations: 161 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.5516, allocations: 224.4 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.5516, allocations: 4 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000915/0.5525, allocations: 384.6 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.136e-05/0.5526, allocations: 59.41 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5526, allocations: 4 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.5527, allocations: 0 / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.5527, allocations: 7.984 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5527, allocations: 0 / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.5533, allocations: 71.98 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.5534, allocations: 19.92 kB / 1.172 GB, free: 0.9023 MB / 0.92 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.0002089/0.5536, allocations: 129.8 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.5537, allocations: 11.95 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.5537, allocations: 11.83 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.5537, allocations: 4 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5538, allocations: 4 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.5538, allocations: 3.938 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.5541, allocations: 185.6 kB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5541, allocations: 0 / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.5541, allocations: 0 / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5541, allocations: 0 / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.5541, allocations: 4 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5541, allocations: 0 / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5541, allocations: 0 / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.5544, allocations: 146.2 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.5545, allocations: 85.06 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.5546, allocations: 7.922 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.173e-05/0.5546, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.5547, allocations: 11.92 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.5547, allocations: 8 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001008/0.5548, allocations: 99.25 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5548, allocations: 0 / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004039/0.5552, allocations: 39.94 kB / 1.173 GB, free: 60 kB / 0.92 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.0008347/0.5561, allocations: 0.6688 MB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007116/0.5568, allocations: 334.8 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5568, allocations: 0 / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.5569, allocations: 35.97 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.5573, allocations: 15.92 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.5613, allocations: 2.181 MB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.5618, allocations: 0.7041 MB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.177e-05/0.5619, allocations: 4 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.562, allocations: 23.44 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of SimCode: time 1.252e-06/0.562, allocations: 0 / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04182/0.6038, allocations: 3.484 MB / 1.18 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.93, allocations: 19.42 kB / 1.18 GB, free: 8.555 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches