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.004654/0.004654, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001183/0.001183, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 2.45/2.45, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2492, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001617/0.2509, allocations: 0.6282 MB / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2522, allocations: 1.121 MB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.2522, allocations: 4 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.832e-05/0.2523, allocations: 7.938 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.2524, allocations: 7.922 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.2528, allocations: 122.5 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.2531, allocations: 187.8 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.2532, allocations: 24.27 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.2533, allocations: 83.88 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2534, allocations: 75.66 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.2535, allocations: 16 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.2535, allocations: 27.98 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.2536, allocations: 23.97 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2537, allocations: 71.75 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.254, allocations: 199.4 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.254, allocations: 0 / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.254, allocations: 4 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.254, allocations: 0 / 1.169 GB, free: 4.684 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.0005452/0.2545, allocations: 454.5 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2546, allocations: 12.03 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2546, allocations: 34.75 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.2547, allocations: 12.89 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2549, allocations: 228.1 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2549, allocations: 12.36 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.255, allocations: 8.375 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2551, allocations: 103.9 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2552, allocations: 3.938 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2552, allocations: 0 / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2552, allocations: 0 / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.2553, allocations: 43.91 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.2558, allocations: 496.8 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.621e-05/0.2559, allocations: 57.19 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.2559, allocations: 21.77 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-06/0.2559, allocations: 3.938 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.2561, allocations: 117 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2561, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002541/0.2563, allocations: 133.9 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2564, allocations: 81.11 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2565, allocations: 133.8 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.2566, allocations: 33.69 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.2566, allocations: 104 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.2567, allocations: 11.95 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2568, allocations: 57.67 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2569, allocations: 318.8 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.2571, allocations: 123.8 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.2573, allocations: 165 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.2576, allocations: 228.4 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2576, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005708/0.2582, allocations: 376.7 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.2583, allocations: 71.39 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2583, allocations: 4.188 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.2583, allocations: 7.938 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.396e-05/0.2583, allocations: 0 / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2583, allocations: 7.938 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.2587, allocations: 67.78 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.2587, allocations: 16 kB / 1.172 GB, free: 0.8516 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.0001168/0.2588, allocations: 137.8 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.2589, allocations: 3.953 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.2589, allocations: 11.91 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2589, allocations: 0 / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2589, allocations: 4 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2589, allocations: 3.938 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.2591, allocations: 185.6 kB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2591, allocations: 4 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.2591, allocations: 0 / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2591, allocations: 0 / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2591, allocations: 11.98 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2591, allocations: 0 / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2591, allocations: 3.938 kB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.2593, allocations: 129.8 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.2594, allocations: 89.05 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.2594, allocations: 4 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.2594, allocations: 0 / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.2595, allocations: 15.92 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.2595, allocations: 4 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.2595, allocations: 99.27 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2595, allocations: 0 / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002293/0.2598, allocations: 35.94 kB / 1.173 GB, free: 16 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.0004901/0.2603, allocations: 0.6796 MB / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004276/0.2607, allocations: 326.6 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2607, allocations: 0 / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.2608, allocations: 35.91 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.261, allocations: 24.23 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.2634, allocations: 2.175 MB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.2637, allocations: 0.6963 MB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.2637, allocations: 8 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.2638, allocations: 23.42 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2638, allocations: 0 / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.049/1.313, allocations: 3.493 MB / 1.18 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.33, allocations: 13.94 kB / 1.18 GB, free: 8.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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