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.00231/0.00231, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002704/0.002704, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.91/2.91, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.1.|booRep.y.2.|booRep.y.3.",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.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.643e-05/3.962e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001944/0.001984, allocations: 0.6288 MB / 0.787 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.003931, allocations: 1.137 MB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.003986, allocations: 8.781 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.004091, allocations: 3.938 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.004125, allocations: 7.969 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.004626, allocations: 121.3 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.004808, allocations: 91.83 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.506e-05/0.004883, allocations: 0.5625 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.004984, allocations: 51.95 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.005097, allocations: 28.64 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.005129, allocations: 8 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.005206, allocations: 24.88 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.005263, allocations: 11.94 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.005333, allocations: 24.58 kB / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.005561, allocations: 107.8 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005564, allocations: 0.5938 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005565, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.00557, allocations: 1.656 kB / 0.7886 GB, free: 10.59 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.0005897/0.00616, allocations: 405.9 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.006204, allocations: 12.03 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.006262, allocations: 4.938 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.006474, allocations: 134 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.006491, allocations: 4.312 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.006523, allocations: 12.38 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.00663, allocations: 42.25 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006639, allocations: 5.719 kB / 0.7892 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.006648, allocations: 384 / 0.7892 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.006652, allocations: 384 / 0.7892 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.006682, allocations: 7.938 kB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.007102, allocations: 299.2 kB / 0.7895 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.092e-05/0.007172, allocations: 31.06 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.007199, allocations: 15.73 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.007208, allocations: 0 / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.007331, allocations: 65 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.007332, allocations: 0 / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000247/0.007579, allocations: 77.73 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.00763, allocations: 51.41 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.007776, allocations: 173.9 kB / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.007805, allocations: 26.3 kB / 0.7899 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.007901, allocations: 139.5 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.007912, allocations: 4 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.007991, allocations: 36.08 kB / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000263/0.008254, allocations: 0.4923 MB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.008375, allocations: 67.16 kB / 0.7906 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.008509, allocations: 100.7 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.008648, allocations: 97.31 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.00865, allocations: 1.125 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003172/0.008968, allocations: 192.9 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.009013, allocations: 42.56 kB / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009018, allocations: 0 / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.009035, allocations: 4.594 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.667e-05/0.009052, allocations: 0 / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.009058, allocations: 5.094 kB / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.009246, allocations: 19.98 kB / 0.791 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.00927, allocations: 8.734 kB / 0.791 GB, free: 7.797 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 0.000131/0.009401, allocations: 165.7 kB / 0.7912 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.009419, allocations: 11.89 kB / 0.7912 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.009441, allocations: 4 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.009443, allocations: 2.219 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.009446, allocations: 0 / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.009449, allocations: 0 / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.009581, allocations: 128.6 kB / 0.7913 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.009582, allocations: 0 / 0.7913 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-06/0.009591, allocations: 4 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.009596, allocations: 6.719 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.009605, allocations: 3.984 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009606, allocations: 0 / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009607, allocations: 0 / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.009743, allocations: 88.38 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.009754, allocations: 8 kB / 0.7915 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.009769, allocations: 3.938 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.009782, allocations: 0 / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.009816, allocations: 9.484 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.00982, allocations: 0 / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.238e-05/0.009903, allocations: 131.2 kB / 0.7916 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009903, allocations: 0 / 0.7916 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002058/0.01011, allocations: 20.45 kB / 0.7916 GB, free: 7.16 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.0001688/0.01028, allocations: 104.3 kB / 0.7917 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.01055, allocations: 170.1 kB / 0.7919 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01055, allocations: 0 / 0.7919 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.01059, allocations: 23.67 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01079, allocations: 8.609 kB / 0.7919 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.01111, allocations: 136.2 kB / 0.792 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.287e-05/0.01118, allocations: 67.3 kB / 0.7921 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.0112, allocations: 4.188 kB / 0.7921 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.01122, allocations: 9.094 kB / 0.7921 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01122, allocations: 4 kB / 0.7921 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.004345/0.01556, allocations: 1.177 MB / 0.7933 GB, free: 5.434 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.066577719058841]