Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001795/0.001795, allocations: 79.28 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.002151/0.002151, allocations: 163.1 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.141 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.935/2.935, allocations: 389 MB / 0.633 GB, free: 0.9883 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 1 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.804e-05, allocations: 4.953 kB / 1 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008613/0.008641, allocations: 5.902 MB / 1.006 GB, free: 328 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005908/0.01455, allocations: 3.121 MB / 1.009 GB, free: 13.19 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006148/0.01516, allocations: 39.62 kB / 1.009 GB, free: 13.15 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.01792, allocations: 0.9257 MB / 1.01 GB, free: 12.22 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.01936, allocations: 0.497 MB / 1.01 GB, free: 11.72 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.02074, allocations: 0.5011 MB / 1.011 GB, free: 11.22 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.02249, allocations: 1.131 MB / 1.012 GB, free: 10.08 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009503/0.02344, allocations: 0.5061 MB / 1.012 GB, free: 9.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009564/0.0244, allocations: 0.6194 MB / 1.013 GB, free: 8.953 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000714/0.02511, allocations: 430.8 kB / 1.013 GB, free: 8.531 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.02523, allocations: 56 kB / 1.014 GB, free: 8.477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.02628, allocations: 446.8 kB / 1.014 GB, free: 8.039 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.02665, allocations: 319.1 kB / 1.014 GB, free: 7.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.02702, allocations: 267.3 kB / 1.014 GB, free: 7.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.0287, allocations: 1.207 MB / 1.016 GB, free: 6.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.0287, allocations: 0 / 1.016 GB, free: 6.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.0287, allocations: 4 kB / 1.016 GB, free: 6.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.02872, allocations: 0 / 1.016 GB, free: 6.25 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002291/0.03101, allocations: 1.002 MB / 1.017 GB, free: 5.215 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.03105, allocations: 8.031 kB / 1.017 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.03276, allocations: 228.2 kB / 1.017 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.0338, allocations: 0.5236 MB / 1.017 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.03386, allocations: 53.67 kB / 1.017 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.03398, allocations: 60.33 kB / 1.018 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.03566, allocations: 1.134 MB / 1.019 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.03569, allocations: 8.125 kB / 1.019 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.03578, allocations: 32.36 kB / 1.019 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-05/0.03588, allocations: 73.2 kB / 1.019 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.03702, allocations: 0.6956 MB / 1.019 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/0.04216, allocations: 4.394 MB / 1.024 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.04301, allocations: 410.8 kB / 1.024 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.04389, allocations: 384.6 kB / 1.024 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.04392, allocations: 4 kB / 1.024 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.04395, allocations: 42.56 kB / 1.024 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=41): time 4.368e-06/0.04396, allocations: 0 / 1.024 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42): time 0.00463/0.04859, allocations: 1.718 MB / 1.026 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.04864, allocations: 59.39 kB / 1.026 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.04916, allocations: 445.7 kB / 1.027 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.0492, allocations: 37.7 kB / 1.027 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.04956, allocations: 392 kB / 1.027 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.0497, allocations: 154.6 kB / 1.027 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.04988, allocations: 118.2 kB / 1.027 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.05008, allocations: 362.8 kB / 1.028 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.05048, allocations: 245.2 kB / 1.028 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.05106, allocations: 461.5 kB / 1.028 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.05211, allocations: 0.7518 MB / 1.029 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.05211, allocations: 4 kB / 1.029 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00202/0.05413, allocations: 1.047 MB / 1.03 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.05415, allocations: 12.16 kB / 1.03 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.05417, allocations: 4 kB / 1.03 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.05529, allocations: 319.1 kB / 1.03 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.05564, allocations: 99.81 kB / 1.031 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008067/0.0637, allocations: 6.98 MB / 1.037 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.06415, allocations: 36.02 kB / 1.037 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.06421, allocations: 24 kB / 1.037 GB, free: 14.93 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004786/0.06469, allocations: 246 kB / 1.038 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.06483, allocations: 59.67 kB / 1.038 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.06671, allocations: 0.8844 MB / 1.039 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.06672, allocations: 8.172 kB / 1.039 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.06672, allocations: 8 kB / 1.039 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.06673, allocations: 3.938 kB / 1.039 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.06947, allocations: 1.513 MB / 1.04 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.06948, allocations: 7.938 kB / 1.04 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.06966, allocations: 39.91 kB / 1.04 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.07074, allocations: 319.1 kB / 1.04 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.07077, allocations: 12 kB / 1.04 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008095/0.07887, allocations: 6.962 MB / 1.047 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.07887, allocations: 0 / 1.047 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.08081, allocations: 0.988 MB / 1.048 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.08107, allocations: 95.56 kB / 1.048 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.08114, allocations: 8 kB / 1.048 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.08144, allocations: 27.91 kB / 1.048 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.08157, allocations: 39.92 kB / 1.048 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.08161, allocations: 16 kB / 1.048 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003766/0.08199, allocations: 286.9 kB / 1.049 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.08199, allocations: 0 / 1.049 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008519/0.08284, allocations: 192 kB / 1.049 GB, free: 2.684 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.08304, allocations: 123.1 kB / 1.049 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002096/0.08513, allocations: 1.156 MB / 1.05 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.08514, allocations: 0 / 1.05 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.08661, allocations: 0.84 MB / 1.051 GB, free: 464 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.08772, allocations: 206.8 kB / 1.051 GB, free: 268 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.08998, allocations: 1.235 MB / 1.052 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.09048, allocations: 402.9 kB / 1.053 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002818/0.09076, allocations: 101 kB / 1.053 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.09085, allocations: 32.5 kB / 1.053 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of SimCode: time 9.11e-07/0.09085, allocations: 0 / 1.053 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.02095/0.1118, allocations: 10.38 MB / 1.063 GB, free: 4.246 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.445609401911497]