Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_9_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.00094/0.00094, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005223/0.005223, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003739, allocations: 11.98 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7436, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.000843/0.7445, allocations: 362 kB / 0.9555 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.7458, allocations: 1.113 MB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.7458, allocations: 4 kB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.776e-05/0.746, allocations: 3.938 kB / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.746, allocations: 9.469 kB / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.7464, allocations: 113 kB / 0.9567 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.7466, allocations: 164.6 kB / 0.9569 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.7467, allocations: 21.14 kB / 0.9569 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.7468, allocations: 57.42 kB / 0.957 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.747, allocations: 53.8 kB / 0.957 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.747, allocations: 8.031 kB / 0.957 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.7471, allocations: 22.14 kB / 0.9571 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.7472, allocations: 23.5 kB / 0.9571 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.7473, allocations: 81.53 kB / 0.9572 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.7475, allocations: 186 kB / 0.9573 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7475, allocations: 0 / 0.9573 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7475, allocations: 4 kB / 0.9573 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.7475, allocations: 0 / 0.9573 GB, free: 6.07 MB / 0.7169 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.0004698/0.748, allocations: 420.5 kB / 0.9577 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.748, allocations: 9.062 kB / 0.9577 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.7481, allocations: 40.64 kB / 0.9578 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.7481, allocations: 13.94 kB / 0.9578 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.7483, allocations: 216.9 kB / 0.958 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.7483, allocations: 9.875 kB / 0.958 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.7484, allocations: 11.06 kB / 0.958 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.7486, allocations: 108.9 kB / 0.9581 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7486, allocations: 3.938 kB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.7486, allocations: 5.359 kB / 0.9581 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7486, allocations: 5.312 kB / 0.9581 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.7487, allocations: 37.97 kB / 0.9582 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.7492, allocations: 497 kB / 0.9587 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.183e-05/0.7493, allocations: 51.36 kB / 0.9587 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.7493, allocations: 28.67 kB / 0.9587 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.7493, allocations: 3.984 kB / 0.9587 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.7495, allocations: 117 kB / 0.9588 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.7495, allocations: 0 / 0.9588 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002737/0.7498, allocations: 132.2 kB / 0.959 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.7498, allocations: 83.22 kB / 0.959 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.7499, allocations: 134.1 kB / 0.9592 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.7499, allocations: 35.14 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.75, allocations: 102.9 kB / 0.9593 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.75, allocations: 14.38 kB / 0.9593 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.7501, allocations: 26.55 kB / 0.9593 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.7501, allocations: 317.2 kB / 0.9596 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.7503, allocations: 122.7 kB / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.7505, allocations: 163.2 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.7508, allocations: 221.6 kB / 0.9601 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7508, allocations: 5.312 kB / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005303/0.7513, allocations: 381.6 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.7514, allocations: 69.02 kB / 0.9606 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7514, allocations: 1.375 kB / 0.9606 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.7514, allocations: 1.375 kB / 0.9606 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.7514, allocations: 2.75 kB / 0.9606 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7514, allocations: 1.375 kB / 0.9606 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.7519, allocations: 95.31 kB / 0.9607 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.7519, allocations: 16.23 kB / 0.9607 GB, free: 3.086 MB / 0.7169 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.0001124/0.752, allocations: 130.3 kB / 0.9608 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.7521, allocations: 14.59 kB / 0.9608 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.7521, allocations: 14.59 kB / 0.9608 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7521, allocations: 1.375 kB / 0.9608 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7521, allocations: 1.375 kB / 0.9608 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7521, allocations: 7.922 kB / 0.9608 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.7523, allocations: 192.9 kB / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7523, allocations: 0 / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.7523, allocations: 1.375 kB / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7523, allocations: 1.375 kB / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.7523, allocations: 6.031 kB / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7523, allocations: 0 / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7523, allocations: 5 kB / 0.961 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.7525, allocations: 137.4 kB / 0.9612 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.7525, allocations: 83.36 kB / 0.9612 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.7525, allocations: 1.156 kB / 0.9613 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.7526, allocations: 1.125 kB / 0.9613 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.7526, allocations: 11.64 kB / 0.9613 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.7526, allocations: 6.062 kB / 0.9613 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.334e-05/0.7527, allocations: 99.95 kB / 0.9614 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7527, allocations: 1.031 kB / 0.9614 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002563/0.7529, allocations: 39.08 kB / 0.9614 GB, free: 2.383 MB / 0.7169 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.000418/0.7534, allocations: 0.6716 MB / 0.9621 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.7538, allocations: 329.8 kB / 0.9624 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7538, allocations: 0 / 0.9624 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.165e-05/0.7539, allocations: 31.59 kB / 0.9624 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.7542, allocations: 20.89 kB / 0.9624 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.7566, allocations: 2.199 MB / 0.9646 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.7568, allocations: 0.6999 MB / 0.9653 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.7569, allocations: 9.344 kB / 0.9653 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.7569, allocations: 26.73 kB / 0.9653 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.7569, allocations: 5.188 kB / 0.9653 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.7709, allocations: 3.19 MB / 0.9684 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.7712, allocations: 222.8 kB / 0.9686 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.547, allocations: 0 / 0.9686 GB, free: 13.19 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches