Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001725/0.001725, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.00201/0.00201, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.965/2.965, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.509e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007633/0.007658, allocations: 5.305 MB / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004868/0.01253, allocations: 2.595 MB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.0129, allocations: 31.69 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.01497, allocations: 0.6865 MB / 1.009 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.01615, allocations: 441.2 kB / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.01726, allocations: 411.9 kB / 1.009 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.01868, allocations: 0.9863 MB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007207/0.0194, allocations: 382.4 kB / 1.011 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.02046, allocations: 0.522 MB / 1.011 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.02121, allocations: 363 kB / 1.012 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.02132, allocations: 48 kB / 1.012 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007677/0.02209, allocations: 339.1 kB / 1.012 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.02239, allocations: 259.2 kB / 1.012 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.02276, allocations: 239.4 kB / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.02416, allocations: 1.005 MB / 1.013 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.02417, allocations: 0 / 1.013 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.02417, allocations: 0 / 1.013 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.02418, allocations: 0 / 1.013 GB, free: 9.691 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001779/0.02596, allocations: 0.9208 MB / 1.014 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.026, allocations: 8.031 kB / 1.014 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.02748, allocations: 200.2 kB / 1.014 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/0.02837, allocations: 468.2 kB / 1.015 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.02841, allocations: 37.36 kB / 1.015 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.02857, allocations: 60.48 kB / 1.015 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.02995, allocations: 0.9828 MB / 1.016 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.02998, allocations: 8.078 kB / 1.016 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.03004, allocations: 32.11 kB / 1.016 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002111/0.03025, allocations: 64.94 kB / 1.016 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009458/0.0312, allocations: 0.5697 MB / 1.017 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.03551, allocations: 3.468 MB / 1.02 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.03602, allocations: 279.1 kB / 1.02 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.03634, allocations: 213.3 kB / 1.02 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.03637, allocations: 12.2 kB / 1.02 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.03641, allocations: 34.84 kB / 1.021 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.03641, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.005924/0.04233, allocations: 2.339 MB / 1.023 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.04238, allocations: 55.41 kB / 1.023 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.04288, allocations: 425.7 kB / 1.023 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.04293, allocations: 33.7 kB / 1.023 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.04319, allocations: 360.4 kB / 1.024 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.04332, allocations: 154.7 kB / 1.024 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.0435, allocations: 102.3 kB / 1.024 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.04369, allocations: 362.7 kB / 1.024 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.04407, allocations: 237.2 kB / 1.024 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.0446, allocations: 415.3 kB / 1.025 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.04557, allocations: 0.6779 MB / 1.026 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.04558, allocations: 4 kB / 1.026 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001821/0.0474, allocations: 0.9096 MB / 1.026 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.04741, allocations: 4 kB / 1.026 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.04742, allocations: 8.656 kB / 1.026 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000874/0.0483, allocations: 222.4 kB / 1.027 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.04884, allocations: 115.8 kB / 1.027 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/0.05441, allocations: 4.926 MB / 1.032 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.0549, allocations: 31.97 kB / 1.032 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.05495, allocations: 27.94 kB / 1.032 GB, free: 6.094 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003344/0.05528, allocations: 226.1 kB / 1.032 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.05539, allocations: 59.62 kB / 1.032 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.05704, allocations: 0.7692 MB / 1.033 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.05705, allocations: 4 kB / 1.033 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.05706, allocations: 4 kB / 1.033 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.05706, allocations: 3.938 kB / 1.033 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.05955, allocations: 1.322 MB / 1.034 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.05956, allocations: 0 / 1.034 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.05996, allocations: 75.81 kB / 1.034 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007327/0.06069, allocations: 206.6 kB / 1.034 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.06073, allocations: 12 kB / 1.034 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/0.06606, allocations: 4.872 MB / 1.039 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.06606, allocations: 0 / 1.039 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.06803, allocations: 1.112 MB / 1.04 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.06826, allocations: 95.61 kB / 1.04 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.06834, allocations: 19.92 kB / 1.04 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.06869, allocations: 23.97 kB / 1.04 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.06878, allocations: 31.94 kB / 1.04 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.06881, allocations: 16.06 kB / 1.04 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003478/0.06916, allocations: 290.9 kB / 1.041 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.06916, allocations: 0 / 1.041 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006962/0.06986, allocations: 164 kB / 1.041 GB, free: 12.35 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.07003, allocations: 119.2 kB / 1.041 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.07179, allocations: 0.9691 MB / 1.042 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.07179, allocations: 3.938 kB / 1.042 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.07284, allocations: 0.6656 MB / 1.042 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.07376, allocations: 170.2 kB / 1.043 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.07584, allocations: 1.215 MB / 1.044 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.07623, allocations: 354.1 kB / 1.044 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003187/0.07655, allocations: 116.8 kB / 1.044 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.07666, allocations: 36.5 kB / 1.044 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.07666, allocations: 0 / 1.044 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of Templates: time 0.01742/0.09408, allocations: 9.042 MB / 1.053 GB, free: 15.71 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.344387866556644]