Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001963/0.001963, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002113/0.002113, allocations: 165.6 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.534/1.534, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.783/2.783, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.397e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00207/0.002104, allocations: 0.6447 MB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.003387, allocations: 0.8207 MB / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.003436, allocations: 4 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.003546, allocations: 4.438 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.00358, allocations: 1.156 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.0037, allocations: 7.984 kB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.003788, allocations: 27.92 kB / 0.7879 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.003876, allocations: 4.547 kB / 0.7879 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.003953, allocations: 20.83 kB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.004005, allocations: 7.984 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.004025, allocations: 4 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.004033, allocations: 0.6562 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.004084, allocations: 4 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.004125, allocations: 12.84 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.004227, allocations: 31.88 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.00423, allocations: 5.625 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.326e-06/0.004233, allocations: 3.984 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004237, allocations: 0 / 0.7879 GB, free: 11.23 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.0005213/0.004759, allocations: 263.6 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.004799, allocations: 11.97 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.004845, allocations: 4.938 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.005017, allocations: 117.7 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.005029, allocations: 1.062 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.005041, allocations: 5.969 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.005252, allocations: 58.23 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.00526, allocations: 4.125 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.00527, allocations: 384 / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005278, allocations: 7.844 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.005479, allocations: 39.89 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.006012, allocations: 212.6 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.006141, allocations: 30.56 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/0.00624, allocations: 25.42 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.006256, allocations: 4 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.006293, allocations: 35.09 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.006294, allocations: 1.656 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0003901/0.006685, allocations: 78.64 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.006735, allocations: 51.41 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.006844, allocations: 101.9 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.006866, allocations: 26.55 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.006937, allocations: 92.08 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.006955, allocations: 5.094 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.006992, allocations: 9.719 kB / 0.7891 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.007168, allocations: 310.8 kB / 0.7894 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.00726, allocations: 21.39 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.007345, allocations: 11.98 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.007502, allocations: 42.69 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007504, allocations: 0 / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002103/0.007714, allocations: 72.14 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.007732, allocations: 8 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007737, allocations: 0 / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.007757, allocations: 0 / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.00784, allocations: 4 kB / 0.7895 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.007846, allocations: 0.625 kB / 0.7895 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.007896, allocations: 8.703 kB / 0.7895 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007901, allocations: 0 / 0.7895 GB, free: 9.445 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.608e-05/0.007998, allocations: 111.1 kB / 0.7896 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.008024, allocations: 3.938 kB / 0.7896 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.008052, allocations: 15.14 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008054, allocations: 0.5625 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008058, allocations: 1.156 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.00806, allocations: 3.938 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.008214, allocations: 109.2 kB / 0.7898 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008216, allocations: 0.9688 kB / 0.7898 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.008271, allocations: 4 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008274, allocations: 4.75 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.008283, allocations: 3.938 kB / 0.7898 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.00829, allocations: 8.672 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008291, allocations: 0 / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.008562, allocations: 153.7 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.008572, allocations: 3.984 kB / 0.7899 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.008586, allocations: 3.938 kB / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.008665, allocations: 4.844 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.008709, allocations: 7.969 kB / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.008712, allocations: 2.219 kB / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.008771, allocations: 83.28 kB / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008772, allocations: 4 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002274/0.008999, allocations: 7.891 kB / 0.7901 GB, free: 8.871 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001463/0.009145, allocations: 102 kB / 0.7902 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.009367, allocations: 35.95 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.009369, allocations: 0 / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.896e-05/0.009458, allocations: 15.98 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.009781, allocations: 5.594 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.01015, allocations: 116.6 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.078e-05/0.01023, allocations: 63.34 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.01027, allocations: 4.547 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.0103, allocations: 9.062 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.0103, allocations: 4.438 kB / 0.7904 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of Templates: time 0.003334/0.01364, allocations: 468.5 kB / 0.7908 GB, free: 8.031 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.765205739997327]