Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001984/0.001984, allocations: 80.3 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.002559/0.002559, allocations: 162.2 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.48/1.48, 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 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.713/2.713, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.826e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01187/0.0119, allocations: 5.297 MB / 0.9561 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00788/0.01978, allocations: 2.603 MB / 0.9587 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.02088, allocations: 31.69 kB / 0.9587 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.02426, allocations: 0.6814 MB / 0.9594 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.02622, allocations: 445.2 kB / 0.9598 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.02809, allocations: 421.9 kB / 0.9602 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002158/0.03025, allocations: 0.9863 MB / 0.9612 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009174/0.03117, allocations: 382.5 kB / 0.9615 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.03241, allocations: 0.5181 MB / 0.962 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009285/0.03334, allocations: 371 kB / 0.9624 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.03352, allocations: 51.94 kB / 0.9624 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.03468, allocations: 331.1 kB / 0.9628 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005028/0.03518, allocations: 263.2 kB / 0.963 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.0358, allocations: 243.4 kB / 0.9632 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.03812, allocations: 0.993 MB / 0.9642 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.03813, allocations: 8 kB / 0.9642 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.824e-06/0.03813, allocations: 0 / 0.9642 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.718e-05/0.03816, allocations: 0 / 0.9642 GB, free: 13.93 MB / 0.8731 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.002984/0.04115, allocations: 0.913 MB / 0.9651 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.0412, allocations: 8.031 kB / 0.9651 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/0.04396, allocations: 204.3 kB / 0.9653 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.04555, allocations: 468.1 kB / 0.9658 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/0.04561, allocations: 33.38 kB / 0.9658 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.04588, allocations: 64.48 kB / 0.9658 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.04814, allocations: 0.979 MB / 0.9668 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.04818, allocations: 8.125 kB / 0.9668 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.0483, allocations: 28.12 kB / 0.9668 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003587/0.04866, allocations: 60.95 kB / 0.9669 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.05029, allocations: 0.5697 MB / 0.9675 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006055/0.05635, allocations: 3.48 MB / 0.9708 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.05688, allocations: 275.2 kB / 0.9711 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.05722, allocations: 209.3 kB / 0.9713 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.05725, allocations: 8.219 kB / 0.9713 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.05729, allocations: 42.83 kB / 0.9714 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.05729, allocations: 0 / 0.9714 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.006203/0.06349, allocations: 2.331 MB / 0.9736 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.06354, allocations: 55.41 kB / 0.9737 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.06409, allocations: 437.7 kB / 0.9741 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.06414, allocations: 37.7 kB / 0.9741 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.06442, allocations: 352.4 kB / 0.9745 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.06456, allocations: 146.8 kB / 0.9746 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.06475, allocations: 102.2 kB / 0.9747 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.06495, allocations: 362.7 kB / 0.9751 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.06535, allocations: 241.2 kB / 0.9753 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.06591, allocations: 409.4 kB / 0.9757 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.06696, allocations: 0.6817 MB / 0.9763 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.06697, allocations: 4 kB / 0.9764 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001914/0.06888, allocations: 0.9097 MB / 0.9772 GB, free: 0 / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.0689, allocations: 8.109 kB / 0.9772 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.06891, allocations: 7.938 kB / 0.9773 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008906/0.06981, allocations: 234.6 kB / 0.9775 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.07049, allocations: 115.9 kB / 0.9776 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/0.07661, allocations: 4.934 MB / 0.9824 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.07713, allocations: 31.97 kB / 0.9824 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.0772, allocations: 27.94 kB / 0.9825 GB, free: 10.33 MB / 0.8887 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.0003613/0.07756, allocations: 221.7 kB / 0.9827 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.07768, allocations: 55.67 kB / 0.9827 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.07935, allocations: 0.754 MB / 0.9835 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.07936, allocations: 4 kB / 0.9835 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.07936, allocations: 11.94 kB / 0.9835 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.07937, allocations: 3.984 kB / 0.9835 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.08198, allocations: 1.33 MB / 0.9848 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.08199, allocations: 0 / 0.9848 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.0824, allocations: 67.88 kB / 0.9848 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007443/0.08314, allocations: 206.6 kB / 0.985 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.08318, allocations: 8 kB / 0.9851 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005585/0.08876, allocations: 4.867 MB / 0.9898 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.08876, allocations: 4.359 kB / 0.9898 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.0908, allocations: 1.124 MB / 0.9909 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.09103, allocations: 91.62 kB / 0.991 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.09112, allocations: 15.94 kB / 0.991 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.09147, allocations: 23.97 kB / 0.991 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.09158, allocations: 43.88 kB / 0.9911 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.09161, allocations: 8 kB / 0.9911 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003708/0.09198, allocations: 290.9 kB / 0.9914 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.09198, allocations: 0 / 0.9914 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007226/0.0927, allocations: 172 kB / 0.9915 GB, free: 0.5898 MB / 0.8887 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.0001895/0.09289, allocations: 111.2 kB / 0.9916 GB, free: 484 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.09477, allocations: 0.9727 MB / 0.9926 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.09478, allocations: 128 / 0.9926 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.09586, allocations: 0.668 MB / 0.9932 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.09678, allocations: 173.7 kB / 0.9934 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.09896, allocations: 1.217 MB / 0.9946 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.09937, allocations: 350.1 kB / 0.9949 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.09968, allocations: 108.8 kB / 0.995 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.09979, allocations: 44.48 kB / 0.9951 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.09979, allocations: 0 / 0.9951 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of Templates: time 0.01797/0.1178, allocations: 9.042 MB / 1.004 GB, free: 4.004 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.145862188190222]