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.001418/0.001418, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001613/0.001613, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.767/2.767, allocations: 359 MB / 0.6048 GB, free: 10.92 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 2.505e-06/2.505e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.565e-05, allocations: 4.984 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002113/0.002149, allocations: 0.6274 MB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.004187, allocations: 1.137 MB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.004246, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.004373, allocations: 4.938 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.004412, allocations: 11.94 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.004983, allocations: 120.2 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.005178, allocations: 85.03 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.005276, allocations: 7.984 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.005408, allocations: 51.91 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.005525, allocations: 24.48 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.005556, allocations: 9.094 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.005641, allocations: 19.98 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.005705, allocations: 11.92 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.005795, allocations: 33.84 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.006028, allocations: 103.7 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.006032, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006033, allocations: 3.938 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.006037, allocations: 0 / 0.7886 GB, free: 10.54 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.0005881/0.006625, allocations: 308.7 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.00667, allocations: 8.031 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.006754, allocations: 5.719 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.006972, allocations: 125.7 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.006991, allocations: 5.625 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.007016, allocations: 8.375 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.007146, allocations: 46.23 kB / 0.789 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.007157, allocations: 9.531 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.007169, allocations: 384 / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.007174, allocations: 384 / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.007214, allocations: 11.94 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.007643, allocations: 229.7 kB / 0.7893 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.007714, allocations: 26.52 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.007735, allocations: 6.359 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.007746, allocations: 0 / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.007949, allocations: 75.38 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.00795, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002505/0.0082, allocations: 71.17 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.008262, allocations: 55.39 kB / 0.7895 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.008387, allocations: 105.9 kB / 0.7896 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.008425, allocations: 37.69 kB / 0.7896 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.008502, allocations: 89.81 kB / 0.7897 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-06/0.008511, allocations: 0 / 0.7897 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.0086, allocations: 33.7 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.008785, allocations: 314.8 kB / 0.7901 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.008898, allocations: 61.67 kB / 0.7901 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.009017, allocations: 78.8 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.009147, allocations: 84.2 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00915, allocations: 0 / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000326/0.009476, allocations: 192.8 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.009528, allocations: 38.33 kB / 0.7905 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.009541, allocations: 0 / 0.7905 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.009563, allocations: 1.656 kB / 0.7905 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.106e-05/0.009584, allocations: 4 kB / 0.7905 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.009592, allocations: 3.984 kB / 0.7905 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.009801, allocations: 25.12 kB / 0.7905 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.009823, allocations: 4 kB / 0.7905 GB, free: 8.289 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.0001341/0.009957, allocations: 123.2 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.009975, allocations: 7.891 kB / 0.7907 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.01, allocations: 15.92 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01001, allocations: 1.75 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01001, allocations: 0 / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01001, allocations: 0 / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.01015, allocations: 109.3 kB / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01015, allocations: 0 / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-06/0.01016, allocations: 0.5938 kB / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01016, allocations: 3.938 kB / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.01017, allocations: 0.9375 kB / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01017, allocations: 0 / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01017, allocations: 1.938 kB / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.0103, allocations: 81.11 kB / 0.7909 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.01031, allocations: 4 kB / 0.7909 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.01033, allocations: 3.938 kB / 0.7909 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.01034, allocations: 0 / 0.7909 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.01038, allocations: 8 kB / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.01038, allocations: 2.438 kB / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.59e-05/0.01046, allocations: 91.2 kB / 0.791 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01046, allocations: 0 / 0.791 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000225/0.01068, allocations: 23.95 kB / 0.791 GB, free: 7.77 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.0001794/0.01086, allocations: 104 kB / 0.7911 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01111, allocations: 129.8 kB / 0.7912 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01111, allocations: 0.5312 kB / 0.7912 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.01115, allocations: 21.48 kB / 0.7912 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.01136, allocations: 7.984 kB / 0.7912 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.01173, allocations: 132.5 kB / 0.7914 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.607e-05/0.01181, allocations: 71.77 kB / 0.7914 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.01184, allocations: 9.297 kB / 0.7914 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.01186, allocations: 8.5 kB / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01186, allocations: 0 / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of Templates: time 0.004902/0.01676, allocations: 1.16 MB / 0.7926 GB, free: 6.121 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] 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: 7.9042255548993126]