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.001115/0.001116, allocations: 97.95 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.009894/0.009894, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.483/2.483, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004404, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.883, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0009746/0.8841, allocations: 359.2 kB / 0.9554 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.8855, allocations: 1.109 MB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.8856, allocations: 0 / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.8857, allocations: 5.406 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.748e-05/0.8857, allocations: 7.969 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.8862, allocations: 123.8 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.8863, allocations: 76.45 kB / 0.9567 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.8864, allocations: 3.062 kB / 0.9567 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.8865, allocations: 39.8 kB / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.8866, allocations: 23.28 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.8867, allocations: 3.844 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.8867, allocations: 22.89 kB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.8868, allocations: 4.219 kB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.8869, allocations: 67.22 kB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.8871, allocations: 81.05 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8871, allocations: 0 / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8871, allocations: 0.9375 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8871, allocations: 0 / 0.9569 GB, free: 6.25 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.0004205/0.8875, allocations: 366.7 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.8876, allocations: 10.22 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.8876, allocations: 8.375 kB / 0.9573 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.8878, allocations: 179 kB / 0.9574 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.8879, allocations: 6.844 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.8879, allocations: 10.22 kB / 0.9575 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.888, allocations: 50.78 kB / 0.9575 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.888, allocations: 192 / 0.9575 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.8881, allocations: 4.938 kB / 0.9575 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.8881, allocations: 0 / 0.9575 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.8881, allocations: 14.48 kB / 0.9575 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.8885, allocations: 299.5 kB / 0.9578 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.45e-05/0.8885, allocations: 25.98 kB / 0.9578 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.8885, allocations: 7.047 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.8886, allocations: 1.094 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.8887, allocations: 61.42 kB / 0.9579 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.8887, allocations: 0 / 0.9579 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002001/0.8889, allocations: 67.31 kB / 0.958 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.889, allocations: 56.89 kB / 0.958 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.889, allocations: 104.9 kB / 0.9581 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.8891, allocations: 32.05 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.8891, allocations: 87.73 kB / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.8891, allocations: 5.281 kB / 0.9582 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.8892, allocations: 18 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.8893, allocations: 320 kB / 0.9586 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.8893, allocations: 31.55 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.8894, allocations: 47.53 kB / 0.9586 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.8896, allocations: 83.64 kB / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8896, allocations: 0 / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002691/0.8898, allocations: 138.1 kB / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.8899, allocations: 41.19 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.8899, allocations: 5.062 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.8899, allocations: 1.062 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.356e-05/0.89, allocations: 1.094 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.89, allocations: 0.9688 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.8903, allocations: 37.62 kB / 0.9589 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.8903, allocations: 16.84 kB / 0.959 GB, free: 4.164 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 0.0001011/0.8904, allocations: 123.8 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.8904, allocations: 5.312 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.8905, allocations: 5.875 kB / 0.9591 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8905, allocations: 240 / 0.9591 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.8905, allocations: 0 / 0.9591 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.8905, allocations: 17.36 kB / 0.9591 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.8906, allocations: 172.3 kB / 0.9593 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8907, allocations: 0 / 0.9593 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.8907, allocations: 5.344 kB / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8907, allocations: 1.562 kB / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.8907, allocations: 0 / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8907, allocations: 0 / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8907, allocations: 1.875 kB / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.8908, allocations: 83.02 kB / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.8909, allocations: 77.11 kB / 0.9594 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.8909, allocations: 0 / 0.9594 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.8909, allocations: 5.781 kB / 0.9594 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.891, allocations: 1.938 kB / 0.9594 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.891, allocations: 3.984 kB / 0.9594 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.891, allocations: 84.91 kB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.891, allocations: 0 / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002245/0.8912, allocations: 15.31 kB / 0.9595 GB, free: 3.531 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.0002351/0.8915, allocations: 106.6 kB / 0.9596 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.8918, allocations: 123.4 kB / 0.9597 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8918, allocations: 4.062 kB / 0.9598 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.8918, allocations: 14.84 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.8921, allocations: 8.547 kB / 0.9598 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.8925, allocations: 135.7 kB / 0.9599 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.8928, allocations: 0.6803 MB / 0.9606 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.8928, allocations: 11.05 kB / 0.9606 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.8928, allocations: 13.06 kB / 0.9606 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/0.8929, allocations: 0 / 0.9606 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of Templates: time 0.004437/0.8973, allocations: 1.002 MB / 0.9616 GB, free: 1.957 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