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.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: 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.00154/0.00154, allocations: 100.1 kB / 15.88 MB, free: 12 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.001466/0.001466, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.634/2.634, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6015/0.6029, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002349/0.6053, allocations: 0.6889 MB / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.6068, allocations: 1.123 MB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.6069, allocations: 0 / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.607, allocations: 0 / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.996e-05/0.607, allocations: 9.297 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.6074, allocations: 115.8 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.6075, allocations: 75.64 kB / 0.9516 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.6076, allocations: 6.734 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.6077, allocations: 32.41 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.6078, allocations: 24.22 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.6078, allocations: 8.062 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.6079, allocations: 22.92 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.6079, allocations: 8.109 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.608, allocations: 33.53 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.6081, allocations: 54.95 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6081, allocations: 1.125 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6081, allocations: 0 / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.6081, allocations: 0 / 0.9517 GB, free: 7.488 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.0004095/0.6085, allocations: 388 kB / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6086, allocations: 12.91 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.6086, allocations: 9 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.6088, allocations: 183.1 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.6088, allocations: 7.156 kB / 0.9523 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.6088, allocations: 10.17 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.6089, allocations: 46.75 kB / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.609, allocations: 192 / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.609, allocations: 3.938 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.609, allocations: 1.25 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.609, allocations: 10.88 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.6093, allocations: 307.5 kB / 0.9527 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.6094, allocations: 25.41 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.6094, allocations: 7.547 kB / 0.9527 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.6094, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.6096, allocations: 61.64 kB / 0.9528 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.6096, allocations: 0 / 0.9528 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001716/0.6097, allocations: 60.09 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.6098, allocations: 55.41 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.6098, allocations: 110.2 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.6099, allocations: 28.11 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.6099, allocations: 91.92 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.689e-06/0.6099, allocations: 5.156 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.61, allocations: 33.53 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.61, allocations: 320.1 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.6101, allocations: 31.27 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.6102, allocations: 51.19 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.684e-05/0.6103, allocations: 75.55 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6103, allocations: 1.406 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002141/0.6105, allocations: 141.2 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.6106, allocations: 42.19 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6106, allocations: 0 / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6106, allocations: 1.75 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.636e-05/0.6106, allocations: 5.375 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6106, allocations: 3.938 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.6108, allocations: 32.94 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.6108, allocations: 9.328 kB / 0.9538 GB, free: 5.379 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 6.041e-05/0.6109, allocations: 114.8 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.6109, allocations: 13.67 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.611, allocations: 13.14 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.611, allocations: 0 / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.611, allocations: 3.984 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.611, allocations: 1.031 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.583e-05/0.6111, allocations: 165.1 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6111, allocations: 0 / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-06/0.6111, allocations: 1.062 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6111, allocations: 0 / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.6111, allocations: 5.078 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6111, allocations: 5.188 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6111, allocations: 0 / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.6112, allocations: 83.16 kB / 0.9542 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.6112, allocations: 77.11 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.6112, allocations: 1.562 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.6112, allocations: 5.406 kB / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.6113, allocations: 9.297 kB / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.6113, allocations: 1.188 kB / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.6113, allocations: 84.12 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6113, allocations: 0 / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002167/0.6116, allocations: 23.19 kB / 0.9544 GB, free: 4.742 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.0001133/0.6117, allocations: 102.8 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.6119, allocations: 122.8 kB / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6119, allocations: 0 / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.6119, allocations: 12.72 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.6121, allocations: 17.83 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.6124, allocations: 156.3 kB / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.746e-05/0.6125, allocations: 0.6792 MB / 0.9554 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.6125, allocations: 14.42 kB / 0.9555 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6125, allocations: 0 / 0.9555 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of Templates: time 0.002291/0.6148, allocations: 0.9112 MB / 0.9564 GB, free: 3.207 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/jenkins1/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