Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9491/0.9491, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.878/1.878, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.489e-05, allocations: 6.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002004/0.002029, allocations: 0.6378 MB / 0.7889 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.003955, allocations: 1.16 MB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.004017, allocations: 3.938 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.004142, allocations: 4.812 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.366e-05/0.004176, allocations: 3.938 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.004699, allocations: 119 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.004883, allocations: 91.88 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.004974, allocations: 7.922 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.005081, allocations: 55.84 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.005203, allocations: 27.89 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.005232, allocations: 8 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.005312, allocations: 23.98 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.005389, allocations: 13.7 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.005449, allocations: 23.97 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.005638, allocations: 75.89 kB / 0.7905 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005641, allocations: 4 kB / 0.7905 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.02e-07/0.005641, allocations: 0 / 0.7905 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.005645, allocations: 0.5938 kB / 0.7905 GB, free: 9.965 MB / 0.7448 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.0004439/0.006089, allocations: 411.5 kB / 0.7909 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.006129, allocations: 8.031 kB / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.006179, allocations: 8.938 kB / 0.7909 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.00635, allocations: 132.5 kB / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.006367, allocations: 10.11 kB / 0.791 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.006387, allocations: 4.375 kB / 0.7911 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.191e-05/0.006469, allocations: 42.25 kB / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.006478, allocations: 192 / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.006485, allocations: 384 / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.006492, allocations: 1.531 kB / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.006517, allocations: 7.938 kB / 0.7911 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.006821, allocations: 274.3 kB / 0.7914 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.691e-05/0.006868, allocations: 27.05 kB / 0.7914 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.006885, allocations: 11.75 kB / 0.7914 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-06/0.006889, allocations: 0 / 0.7914 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.654e-05/0.006985, allocations: 64.92 kB / 0.7915 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.006986, allocations: 2.594 kB / 0.7915 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001822/0.007169, allocations: 57.64 kB / 0.7915 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.007207, allocations: 55.41 kB / 0.7916 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.007308, allocations: 165.9 kB / 0.7917 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.007329, allocations: 29.7 kB / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.007403, allocations: 146.8 kB / 0.7919 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.007414, allocations: 3.953 kB / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.007489, allocations: 35.89 kB / 0.7919 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.007642, allocations: 0.4891 MB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.007714, allocations: 49.67 kB / 0.7925 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.007796, allocations: 81.22 kB / 0.7925 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/0.007886, allocations: 82.39 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007889, allocations: 0 / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002374/0.008126, allocations: 165.5 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.008164, allocations: 38.23 kB / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.008169, allocations: 3.938 kB / 0.7928 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.00818, allocations: 4.781 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.731e-05/0.008197, allocations: 3.938 kB / 0.7928 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.008202, allocations: 5.141 kB / 0.7928 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.00835, allocations: 19.92 kB / 0.7928 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.008371, allocations: 9.375 kB / 0.7929 GB, free: 7.301 MB / 0.7448 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 9.948e-05/0.00847, allocations: 160.6 kB / 0.793 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.008487, allocations: 11.88 kB / 0.793 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.008509, allocations: 8.844 kB / 0.793 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008511, allocations: 0 / 0.793 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.008514, allocations: 0.8438 kB / 0.793 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008518, allocations: 240 / 0.793 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.079e-05/0.008609, allocations: 101.2 kB / 0.7931 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.00861, allocations: 1.281 kB / 0.7931 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.008616, allocations: 4 kB / 0.7931 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.00862, allocations: 3.984 kB / 0.7931 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.008625, allocations: 0.8438 kB / 0.7931 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.008628, allocations: 3.938 kB / 0.7931 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008629, allocations: 1.219 kB / 0.7931 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.008736, allocations: 92.36 kB / 0.7932 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.008744, allocations: 0 / 0.7932 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.008755, allocations: 3.984 kB / 0.7932 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.008774, allocations: 9.25 kB / 0.7932 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.008798, allocations: 0 / 0.7932 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.008803, allocations: 320 / 0.7932 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.029e-05/0.008853, allocations: 132.8 kB / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008853, allocations: 0 / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002475/0.009101, allocations: 19.95 kB / 0.7934 GB, free: 6.703 MB / 0.7448 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.00012/0.009221, allocations: 106 kB / 0.7935 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.009416, allocations: 136.7 kB / 0.7936 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009417, allocations: 0 / 0.7936 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/0.009441, allocations: 11.69 kB / 0.7936 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.009638, allocations: 11.98 kB / 0.7936 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.009904, allocations: 138.6 kB / 0.7938 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.009946, allocations: 59.88 kB / 0.7938 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.864e-05/0.009964, allocations: 5.281 kB / 0.7938 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.576e-05/0.01006, allocations: 86.19 kB / 0.7939 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01006, allocations: 0 / 0.7939 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.003952/0.01401, allocations: 1.31 MB / 0.7952 GB, free: 4.816 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.055482096038759]