Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001368/0.001368, allocations: 80.83 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001703/0.001703, allocations: 166.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.933/2.933, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.429e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001634/0.001658, allocations: 0.6507 MB / 0.9821 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.002692, allocations: 0.8121 MB / 0.9829 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.002736, allocations: 0 / 0.9829 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.008e-05/0.002826, allocations: 3.938 kB / 0.9829 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.273e-05/0.002849, allocations: 3.938 kB / 0.9829 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.002956, allocations: 8 kB / 0.9829 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.00303, allocations: 23.92 kB / 0.9829 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.003125, allocations: 15.97 kB / 0.9829 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.003182, allocations: 8 kB / 0.9829 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.003236, allocations: 19.92 kB / 0.9829 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.003252, allocations: 0 / 0.9829 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.003261, allocations: 7.938 kB / 0.983 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.003308, allocations: 7.922 kB / 0.983 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.003339, allocations: 8 kB / 0.983 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.838e-05/0.003438, allocations: 31.89 kB / 0.983 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003439, allocations: 3.938 kB / 0.983 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00344, allocations: 0 / 0.983 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003444, allocations: 0 / 0.983 GB, free: 9.309 MB / 0.8887 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.0004327/0.003877, allocations: 262.3 kB / 0.9833 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.003912, allocations: 12.03 kB / 0.9833 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.003944, allocations: 8.891 kB / 0.9833 GB, free: 9 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.004084, allocations: 117.8 kB / 0.9834 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.004093, allocations: 384 / 0.9834 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.004104, allocations: 4.375 kB / 0.9834 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.004305, allocations: 58.23 kB / 0.9834 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.004313, allocations: 192 / 0.9834 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.004321, allocations: 384 / 0.9834 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.004327, allocations: 4.375 kB / 0.9834 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.004501, allocations: 47.83 kB / 0.9835 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.004866, allocations: 216.5 kB / 0.9837 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.004992, allocations: 30.62 kB / 0.9837 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.005082, allocations: 20.84 kB / 0.9838 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.005093, allocations: 0 / 0.9838 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.005125, allocations: 42.5 kB / 0.9838 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.005126, allocations: 0 / 0.9838 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0003331/0.005459, allocations: 77.64 kB / 0.9839 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.005499, allocations: 51.41 kB / 0.9839 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.005588, allocations: 105.8 kB / 0.984 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.005606, allocations: 25.7 kB / 0.984 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.005654, allocations: 84.09 kB / 0.9841 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.005667, allocations: 0 / 0.9841 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.005703, allocations: 17.72 kB / 0.9841 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.005838, allocations: 314.8 kB / 0.9844 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.005921, allocations: 20.05 kB / 0.9845 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.005997, allocations: 15.98 kB / 0.9845 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.006151, allocations: 40.81 kB / 0.9845 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006152, allocations: 3.938 kB / 0.9845 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001958/0.006348, allocations: 65.67 kB / 0.9846 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006361, allocations: 4 kB / 0.9846 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.006364, allocations: 0 / 0.9846 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.006376, allocations: 7.938 kB / 0.9846 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.006456, allocations: 7.984 kB / 0.9846 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.006459, allocations: 0 / 0.9846 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.006508, allocations: 7.984 kB / 0.9846 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.006513, allocations: 3.938 kB / 0.9846 GB, free: 7.488 MB / 0.8887 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 7.44e-05/0.006587, allocations: 109.8 kB / 0.9847 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.006613, allocations: 11.92 kB / 0.9847 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.006629, allocations: 7.141 kB / 0.9847 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.00663, allocations: 0 / 0.9847 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.006635, allocations: 0 / 0.9847 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.006639, allocations: 4 kB / 0.9847 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.006767, allocations: 105.3 kB / 0.9848 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006768, allocations: 0 / 0.9848 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.006821, allocations: 8.234 kB / 0.9848 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.006823, allocations: 0 / 0.9848 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.006834, allocations: 7.938 kB / 0.9848 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006835, allocations: 0 / 0.9848 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006836, allocations: 8 kB / 0.9849 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.007079, allocations: 155.5 kB / 0.985 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-06/0.007084, allocations: 0 / 0.985 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.007097, allocations: 7.938 kB / 0.985 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.007178, allocations: 7.984 kB / 0.985 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.00721, allocations: 3.938 kB / 0.985 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.007213, allocations: 0 / 0.985 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.007258, allocations: 87.27 kB / 0.9851 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.007258, allocations: 4.031 kB / 0.9851 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002189/0.007477, allocations: 4 kB / 0.9851 GB, free: 6.914 MB / 0.8887 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 9.78e-05/0.007575, allocations: 99.25 kB / 0.9852 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.007787, allocations: 31.97 kB / 0.9852 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.007789, allocations: 0 / 0.9852 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.007882, allocations: 15.97 kB / 0.9853 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.008143, allocations: 8.125 kB / 0.9853 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.008419, allocations: 120.6 kB / 0.9854 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.008486, allocations: 63.34 kB / 0.9854 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.00851, allocations: 0 / 0.9854 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.008541, allocations: 16.5 kB / 0.9855 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of SimCode: time 4.61e-07/0.008541, allocations: 0 / 0.9855 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of Templates: time 0.002822/0.01136, allocations: 466.1 kB / 0.9859 GB, free: 6.062 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.300328388810158]