Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, 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.002269/0.002269, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7648, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001795/0.7667, allocations: 0.6237 MB / 0.9502 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.7678, allocations: 1.115 MB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.7679, allocations: 3.938 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.47e-05/0.768, allocations: 0 / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.056e-05/0.768, allocations: 5.312 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.7685, allocations: 123.9 kB / 0.9514 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.7686, allocations: 93.5 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.7688, allocations: 12.11 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.7688, allocations: 32.17 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.7689, allocations: 26.64 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.7689, allocations: 8.375 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.769, allocations: 30.42 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.7691, allocations: 11.67 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.7692, allocations: 29.58 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.7693, allocations: 86.59 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.7693, allocations: 0 / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7693, allocations: 0 / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7693, allocations: 0 / 0.9517 GB, free: 7.449 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004157/0.7698, allocations: 383.8 kB / 0.9521 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.7698, allocations: 9.844 kB / 0.9521 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.7699, allocations: 12.69 kB / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.77, allocations: 178.4 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.77, allocations: 3.031 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.77, allocations: 6.062 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.7702, allocations: 55.34 kB / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7702, allocations: 192 / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.7702, allocations: 7.938 kB / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.7702, allocations: 1.438 kB / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.856e-05/0.7703, allocations: 10.91 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.7706, allocations: 306.9 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.7707, allocations: 20.91 kB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.7707, allocations: 16.27 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.7707, allocations: 3.938 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.7709, allocations: 61.06 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.7709, allocations: 5.281 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002248/0.7711, allocations: 54.91 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.7712, allocations: 60.31 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.7713, allocations: 105.5 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.7713, allocations: 28.3 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.7714, allocations: 91.61 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.7714, allocations: 5.094 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.7715, allocations: 33.78 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.7716, allocations: 324 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.7717, allocations: 27.2 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/0.7717, allocations: 43.28 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.7719, allocations: 83.52 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7719, allocations: 1.688 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002542/0.7721, allocations: 145.9 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.7722, allocations: 37.12 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7722, allocations: 4 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.7722, allocations: 1.219 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.959e-05/0.7722, allocations: 1.375 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7722, allocations: 1.312 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.7725, allocations: 28.56 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.7725, allocations: 7.859 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.466e-05/0.7726, allocations: 123.6 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.7726, allocations: 6.531 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.7727, allocations: 7.906 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7727, allocations: 1.094 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7727, allocations: 0 / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.7727, allocations: 9.422 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.973e-05/0.7728, allocations: 160.9 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7728, allocations: 0 / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-06/0.7728, allocations: 1.469 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.7728, allocations: 0 / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7728, allocations: 9.203 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.7729, allocations: 3.984 kB / 0.9541 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7729, allocations: 0 / 0.9541 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/0.773, allocations: 83.27 kB / 0.9542 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.773, allocations: 78.45 kB / 0.9543 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.773, allocations: 1.375 kB / 0.9543 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/0.773, allocations: 0 / 0.9543 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.7731, allocations: 9.453 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.7731, allocations: 4.938 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.7731, allocations: 84.72 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7731, allocations: 0 / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.7733, allocations: 18.03 kB / 0.9544 GB, free: 4.711 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000198/0.7735, allocations: 108.8 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.7738, allocations: 126 kB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7738, allocations: 1.594 kB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.7739, allocations: 14.41 kB / 0.9546 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.7741, allocations: 10.55 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.7745, allocations: 131.7 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.7746, allocations: 0.6832 MB / 0.9554 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.7747, allocations: 7.266 kB / 0.9554 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.7747, allocations: 12.78 kB / 0.9554 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.7747, allocations: 0 / 0.9554 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.003865/0.7786, allocations: 1.05 MB / 0.9565 GB, free: 3.117 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches