Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001849/0.001849, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002574/0.002574, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.975/2.975, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 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.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_12_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_12_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.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.593e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009351/0.009387, allocations: 5.306 MB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005974/0.01536, allocations: 2.591 MB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.01588, allocations: 36.34 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.01813, allocations: 0.6842 MB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.01942, allocations: 440.3 kB / 0.8196 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.02069, allocations: 417.4 kB / 0.82 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.02224, allocations: 0.9902 MB / 0.821 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.02303, allocations: 374.5 kB / 0.8214 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.02422, allocations: 0.5267 MB / 0.8219 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008734/0.02509, allocations: 365.3 kB / 0.8222 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.02522, allocations: 48 kB / 0.8223 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.02595, allocations: 335.1 kB / 0.8226 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.02628, allocations: 263.2 kB / 0.8228 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.02668, allocations: 239.4 kB / 0.8231 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.02815, allocations: 1.001 MB / 0.824 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.02816, allocations: 6 kB / 0.8241 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.02816, allocations: 0 / 0.8241 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.02817, allocations: 0 / 0.8241 GB, free: 4.543 MB / 0.7761 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.00211/0.03028, allocations: 0.9115 MB / 0.8249 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.03032, allocations: 8.031 kB / 0.825 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.03195, allocations: 300.9 kB / 0.8252 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.03291, allocations: 493.2 kB / 0.8257 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.03296, allocations: 38.3 kB / 0.8257 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.03314, allocations: 60.55 kB / 0.8258 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.03466, allocations: 0.9761 MB / 0.8268 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.03468, allocations: 4.188 kB / 0.8268 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.03476, allocations: 36.09 kB / 0.8268 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/0.03499, allocations: 62.02 kB / 0.8269 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.03601, allocations: 0.5746 MB / 0.8274 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.04094, allocations: 3.497 MB / 0.8308 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.0415, allocations: 283.9 kB / 0.8311 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.04187, allocations: 213.3 kB / 0.8313 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.0419, allocations: 10.53 kB / 0.8313 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.04194, allocations: 38.78 kB / 0.8314 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/0.04195, allocations: 0 / 0.8314 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.006801/0.04875, allocations: 2.397 MB / 0.8337 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.04881, allocations: 59.41 kB / 0.8337 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.04945, allocations: 437.7 kB / 0.8342 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.0495, allocations: 33.7 kB / 0.8342 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/0.04984, allocations: 352.4 kB / 0.8345 GB, free: 9.426 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.05002, allocations: 150.7 kB / 0.8347 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.05023, allocations: 102.3 kB / 0.8348 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002321/0.05046, allocations: 362.7 kB / 0.8351 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.05091, allocations: 241.2 kB / 0.8354 GB, free: 8.574 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.05153, allocations: 411.3 kB / 0.8357 GB, free: 8.098 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.05262, allocations: 0.6818 MB / 0.8364 GB, free: 7.344 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.05262, allocations: 4 kB / 0.8364 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002049/0.05467, allocations: 0.9445 MB / 0.8373 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.0547, allocations: 8 kB / 0.8373 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.05471, allocations: 4 kB / 0.8373 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.05611, allocations: 286.9 kB / 0.8376 GB, free: 6.078 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.05664, allocations: 119.8 kB / 0.8377 GB, free: 5.961 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006593/0.06323, allocations: 4.982 MB / 0.8426 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.06375, allocations: 35.91 kB / 0.8426 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.0638, allocations: 32.06 kB / 0.8427 GB, free: 0.6094 MB / 0.7917 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.0003604/0.06416, allocations: 225.6 kB / 0.8429 GB, free: 388 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.06429, allocations: 67.62 kB / 0.8429 GB, free: 320 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.06607, allocations: 0.7693 MB / 0.8437 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.06608, allocations: 4 kB / 0.8437 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.06608, allocations: 4 kB / 0.8437 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.06609, allocations: 3.984 kB / 0.8437 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.06882, allocations: 1.333 MB / 0.845 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.06883, allocations: 4 kB / 0.845 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.06919, allocations: 71.88 kB / 0.8451 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.0704, allocations: 270.5 kB / 0.8453 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.07064, allocations: 8 kB / 0.8453 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006152/0.07679, allocations: 4.915 MB / 0.8501 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.07679, allocations: 4.031 kB / 0.8502 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.07903, allocations: 1.143 MB / 0.8513 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.07928, allocations: 91.66 kB / 0.8514 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.07937, allocations: 19.92 kB / 0.8514 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.0797, allocations: 24.16 kB / 0.8514 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.07981, allocations: 35.88 kB / 0.8514 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.07985, allocations: 20 kB / 0.8515 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003828/0.08023, allocations: 294.9 kB / 0.8517 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.08023, allocations: 0 / 0.8517 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007391/0.08097, allocations: 176 kB / 0.8519 GB, free: 6.684 MB / 0.8073 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.0001762/0.08115, allocations: 107.2 kB / 0.852 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.08322, allocations: 0.9855 MB / 0.853 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.08322, allocations: 0 / 0.853 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.08438, allocations: 0.6755 MB / 0.8536 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.08529, allocations: 176.1 kB / 0.8538 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.08753, allocations: 1.23 MB / 0.855 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.08797, allocations: 354.2 kB / 0.8553 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.08831, allocations: 104.8 kB / 0.8554 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.08843, allocations: 40.48 kB / 0.8555 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.08843, allocations: 4 kB / 0.8555 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of Templates: time 0.01822/0.1066, allocations: 9.164 MB / 0.8644 GB, free: 9.934 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.298677947954275]